File tree 4 files changed +39
-21
lines changed
4 files changed +39
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ dev = [
114
114
" example-shared-isort-profile>=0.1.0" ,
115
115
" flake8>=3.8.4" ,
116
116
" flake8-bugbear>=22.12.12" ,
117
+ " flake8-pyproject>=1.2.3" ,
117
118
" hatch>=1.14.0" ,
118
119
" httpx>=0.13.3" ,
119
120
" hypothesis>=6.10.1" ,
@@ -141,6 +142,21 @@ dev = [
141
142
" vulture>=1.0" ,
142
143
]
143
144
145
+ [tool .flake8 ]
146
+ max-line-length = 100
147
+ # Ignore non PEP 8 compliant rules as suggested by black
148
+ # E203: https://github.com/psf/black/blob/3fab5ade71bccf80ae0a5af76729099869adea56/docs/the_black_code_style/current_style.md#slices
149
+ extend-ignore = [
150
+ " B017" ,
151
+ " E203" ,
152
+ ]
153
+ exclude = " _vendored"
154
+ per-file-ignores = [
155
+ " tests/unit/example_crlf_file.py:F401" ,
156
+ " tests/unit/profiles/test_black.py:E501" ,
157
+ " tests/unit/test_regressions.py:E501" ,
158
+ ]
159
+
144
160
[tool .mypy ]
145
161
python_version = 3.9
146
162
strict = true
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ uv run mypy -p isort -p tests
6
6
uv run black --target-version py39 --check .
7
7
uv run isort --profile hug --check --diff isort/ tests/
8
8
uv run isort --profile hug --check --diff example_* /
9
- uv run flake8 isort/ tests/
9
+ uv run --with=Flake8-pyproject flake8 isort/ tests/
10
10
# 51457: https://github.com/tiangolo/typer/discussions/674
11
11
# 72715: https://github.com/timothycrosley/portray/issues/95
12
12
uv run safety check -i 72715 -i 51457 -i 59587
You can’t perform that action at this time.
0 commit comments