Skip to content

Commit

Permalink
Update linting stack
Browse files Browse the repository at this point in the history
  • Loading branch information
mfogel committed Jun 17, 2023
1 parent 66b52a4 commit 53c03d8
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: poetry run isort --check --diff .

- name: Lint with pylint
run: poetry run pylint tests timezone_field setup.py
run: poetry run pylint tests timezone_field

test:
runs-on: ubuntu-latest
Expand Down
94 changes: 57 additions & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ Django = [
{ version = "^2.2 || ^3.2 || ^4.0", python = "^3.8" },
]
djangorestframework = "^3.13.1"
flake8 = "^4.0.1"
flake8 = "^5.0.4"
psycopg2-binary = "^2.9.3"
pytest = "^6.2.5"
pytest-django = "^4.5.2"
pytest-pythonpath = "^0.7.3"
pytest-lazy-fixture = "^0.6.3"
pytest-cov = "^3.0.0"
black = "^21.12b0"
isort = "^5.10.1"
pylint = "^2.12.2"
black = "^23.3.0"
isort = "^5.11.5"
pylint = "^2.13.9"

[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
Expand Down

0 comments on commit 53c03d8

Please sign in to comment.