diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 01ecba7..0000000 --- a/.flake8 +++ /dev/null @@ -1,5 +0,0 @@ -[flake8] -ignore = E302, E305, E203, E501, W503 -select = C,E,F,W,B,B950 -max-line-length = 120 -exclude = .git,__pycache__,__init__.py,.mypy_cache,.pytest_cache diff --git a/pyproject.toml b/pyproject.toml index 38c628d..712567e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,6 +74,10 @@ module = "spectral" ignore_missing_imports = true [tool.flake8] +ignore = "E302, E305, E203, E501, W503" +select = "C,E,F,W,B,B950" +max-line-length = 100 +exclude = [".git", "__pycache__", "__init__.py", ".mypy_cache", ".pytest_cache"] per-file-ignores = ["tests/*:F401,F811"] [tool.ruff]