Skip to content

Commit 8234e28

Browse files
committed
Merge branch 'release/1.5.1'
2 parents 32dad9c + f3012f0 commit 8234e28

File tree

11 files changed

+555
-846
lines changed

11 files changed

+555
-846
lines changed

.flake8

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ ignore =
9292
WPS424,
9393
; Found a too complex `f` string
9494
WPS237,
95+
; Found `no cover` comments overuse
96+
WPS403,
9597

9698
per-file-ignores =
9799
; all tests

.github/workflows/test.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
name: Testing
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
48

59
jobs:
610
lint:
711
strategy:
812
matrix:
913
cmd:
1014
- black
11-
- flake8
12-
- isort
1315
- mypy
14-
- autoflake
16+
- ruff
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@v2

.pre-commit-config.yaml

+9-24
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,20 @@ 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
25+
- id: ruff
26+
name: Run ruff lints
27+
entry: poetry run ruff
4128
language: system
4229
pass_filenames: false
43-
types: [ python ]
44-
args: [--count, taskiq_dependencies]
30+
types: [python]
31+
args:
32+
- "--fix"
33+
- "--unsafe-fixes"
34+
- "taskiq_dependencies"
35+
- "tests"
4536

4637
- id: mypy
4738
name: Validate types with MyPy
4839
entry: poetry run mypy
4940
language: system
5041
types: [ python ]
51-
52-
- id: yesqa
53-
name: Remove usless noqa
54-
entry: poetry run yesqa
55-
language: system
56-
types: [ python ]

0 commit comments

Comments
 (0)