Skip to content

Commit

Permalink
Add python3.12 and prepare for more linters
Browse files Browse the repository at this point in the history
  • Loading branch information
mdujava committed Jan 6, 2025
1 parent 5ad7b28 commit dac33c2
Show file tree
Hide file tree
Showing 4 changed files with 1,356 additions and 858 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand Down
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@ update: setup_poetry
poetry update

clean:
poetry env remove --all
poetry env remove --all
rm -rf .mk_poetry* dist

check: setup_poetry
check: setup_poetry flake8 pylint

flake8: setup_poetry
poetry run flake8 osia --max-line-length 100 --show-source --statistics
poetry run pylint osia

pylint mypy: setup_poetry
poetry run $@ osia

black-check: setup_poetry
poetry run black --check osia

dist: setup_poetry
poetry build
Expand Down
Loading

0 comments on commit dac33c2

Please sign in to comment.