Skip to content

Commit ea4d583

Browse files
committed
Merge branch 'release/0.3.1'
2 parents 929e22c + 38e5747 commit ea4d583

File tree

5 files changed

+356
-860
lines changed

5 files changed

+356
-860
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ jobs:
1010
matrix:
1111
cmd:
1212
- black
13-
- flake8
14-
- isort
1513
- mypy
16-
- autoflake
14+
- ruff
1715
runs-on: ubuntu-latest
1816
steps:
1917
- uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,18 @@ repos:
2222
language: system
2323
types: [python]
2424

25-
- id: autoflake
26-
name: autoflake
27-
entry: poetry run autoflake
28-
language: system
29-
types: [python]
30-
args: [--in-place, --remove-all-unused-imports, --remove-duplicate-keys]
31-
32-
- id: isort
33-
name: isort
34-
entry: poetry run isort
35-
language: system
36-
types: [python]
37-
38-
- id: flake8
39-
name: Check with Flake8
40-
entry: poetry run flake8
41-
language: system
42-
pass_filenames: false
43-
types: [python]
44-
args: [--count, taskiq_fastapi]
45-
4625
- id: mypy
4726
name: Validate types with MyPy
4827
entry: poetry run mypy
4928
language: system
5029
types: [python]
5130

52-
- id: yesqa
53-
name: Remove usless noqa
54-
entry: poetry run yesqa
31+
- id: ruff
32+
name: Run ruff lints
33+
entry: poetry run ruff
5534
language: system
35+
pass_filenames: false
5636
types: [python]
37+
args:
38+
- "--fix"
39+
- "taskiq_fastapi"

0 commit comments

Comments
 (0)