Skip to content

Commit 875d120

Browse files
committed
fix: poetry
1 parent 0b16459 commit 875d120

4 files changed

Lines changed: 44 additions & 64 deletions

File tree

.github/workflows/python-CI.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,17 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v3
22-
- name: Set up Python 3.10
23-
uses: actions/setup-python@v3
21+
- uses: actions/checkout@v4
22+
- name: Set up Python 3.11
23+
uses: actions/setup-python@v5
2424
with:
25-
python-version: "3.10"
25+
python-version: "3.11"
2626
- uses: Gr1N/setup-poetry@v8 #install poetry
27-
- name: Install parts of toolchain
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install flake8 pytest
27+
- name: Upgrade pip
28+
run: python -m pip install --upgrade pip
3129
- name: Install requirements with poetry
3230
run: poetry install
33-
- name: Lint with flake8
34-
run: |
35-
# stop the build if there are Python syntax errors or undefined names
36-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
31+
- name: Lint with Ruff
32+
run: poetry run ruff check --output-format=github .
3933
- name: Test with pytest
40-
run: |
41-
poetry run pytest
34+
run: poetry run pytest

.github/workflows/ruff.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

poetry.lock

Lines changed: 33 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "databusclient"
3-
version = "0.12"
4-
description = "A simple client for submitting data to the DBpedia Databus"
3+
version = "0.14"
4+
description = "A simple client for submitting, downloading, and deleting data on the DBpedia Databus"
55
authors = ["DBpedia Association"]
66
license = "Apache-2.0 License"
77
readme = "README.md"

0 commit comments

Comments
 (0)