Skip to content

Commit

Permalink
Use pyproject.toml for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Mar 25, 2024
1 parent 614f6ab commit 1dfe776
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ requires = ["setuptools", "cython"]
profile = "black"
known_first_party = ["av"]
skip = ["av/__init__.py"]

[tool.flake8]
filename = ["*.py", "*.pyx", "*.pxd"]
ignore = ["E203", "W503"]
max-line-length = 142
per-file-ignores = [
"__init__.py:E402,F401",
"*.pyx,*.pxd:E211,E225,E227,E402,E999",
]
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

8 changes: 4 additions & 4 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
autopep8
black
cython
flake8
isort
numpy
pillow
black
isort
flake8
flake8-pyproject
sphinx==5.1.0

0 comments on commit 1dfe776

Please sign in to comment.