Migrate to ruff

This commit is contained in:
2023-01-07 22:44:29 +01:00
parent 0cd3ae6c03
commit 1079de76a5
5 changed files with 543 additions and 371 deletions

View File

@@ -6,15 +6,8 @@ repos:
hooks:
- id: black
language_version: python3.11
- repo: https://github.com/pycqa/isort
rev: v5.11.3
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.213'
hooks:
- id: isort
- repo: https://github.com/csachs/pyproject-flake8
rev: v6.0.0.post1
hooks:
- id: pyproject-flake8
additional_dependencies: [
'-e', 'git+https://github.com/pycqa/pyflakes@b37f91a#egg=pyflakes',
'-e', 'git+https://github.com/pycqa/pycodestyle@1063db8#egg=pycodestyle',
]
- id: ruff