Skip to content

Commit 611def1

Browse files
committed
Introduce ruff
1 parent 99d7512 commit 611def1

File tree

8 files changed

+667
-739
lines changed

8 files changed

+667
-739
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,22 @@ repos:
1515
- id: mixed-line-ending
1616
- repo: local
1717
hooks:
18-
- id: autoflake
19-
name: autoflake
20-
entry: poetry run autoflake -r -i --remove-all-unused-imports --remove-unused-variables
21-
language: system
22-
types: [ python ]
23-
- id: isort
24-
name: isort
25-
entry: poetry run isort
26-
language: system
27-
types: [python]
2818
- id: black
2919
name: black
3020
entry: poetry run black
3121
language: system
3222
types: [python]
33-
- id: pyupgrade
34-
name: pyupgrade
35-
entry: poetry run pyupgrade --py37-plus
36-
language: system
37-
types: [python]
3823
- id: mypy
3924
name: mypy
4025
entry: poetry run mypy .
4126
require_serial: true
4227
language: system
4328
types: [python]
4429
pass_filenames: false
45-
- id: flake8
46-
name: flake8
47-
entry: poetry run flake8
30+
- id: ruff
31+
name: ruff
32+
entry: poetry run ruff check
33+
require_serial: true
4834
language: system
4935
types: [python]
5036
- id: kacl-verify

0 commit comments

Comments
 (0)