Skip to content

Commit

Permalink
Change: Replace pylint with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Aug 21, 2024
1 parent edb6236 commit 605f905
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 10 deletions.
43 changes: 35 additions & 8 deletions poetry.lock

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

11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pytest-cov = ">=4.0.0"
pytest-django = ">=3.9"
pytest-env = ">=0.8.1"
autohooks = ">=23.1.0"
autohooks-plugin-pylint = ">=22.8.1"
autohooks-plugin-ruff = ">=24.1.0"
autohooks-plugin-black = ">=22.11.0"
rope = ">=0.17,<1.14"
pontos = ">=21.6.3"
Expand All @@ -64,9 +64,16 @@ exclude = '''
'''

[tool.autohooks]
pre-commit = ['autohooks.plugins.black', 'autohooks.plugins.pylint']
pre-commit = ['autohooks.plugins.black', 'autohooks.plugins.ruff']
mode = "poetry"

[tool.ruff]
line-length = 80
target-version = "py39"

[tool.ruff.lint]
extend-select = ["I", "PLE", "PLW"]

[tool.pontos.version]
version-module-file = "pheme/version/__version__.py"

Expand Down

0 comments on commit 605f905

Please sign in to comment.