Skip to content

Commit ff588ad

Browse files
committed
chore(.): Ignore flake8 S101
Previous attempts to selectively disable this warning per-file failed, as flake8 does not correctly normalise paths for `per-file-ignores`. Until resolved, we disable this check as `assert` statements are extremely unlikely out of tests files. See PyCQA/flake8#693
1 parent 2426764 commit ff588ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ float_to_top = false
3737

3838
[tool.flake8]
3939
select = "ANN,B,B9,C,C4,D,DAR,F,S,SC"
40-
ignore = "ANN101"
40+
ignore = "ANN101,S101"
4141
exclude = "docs/conf.py"
42-
per-file-ignore = "tests/*:S101"
4342
max-line-length = 88
4443
max-complexity = 10
4544
docstring-convention = "numpy"

0 commit comments

Comments
 (0)