Skip to content

Commit b2b63cf

Browse files
committed
build: move flake8 config to pyproject.toml
1 parent aec92c5 commit b2b63cf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,22 @@ force-exclude = """
9797

9898
# -- Linting ---------------------------------------------------------------------------
9999

100+
[tool.flake8]
101+
max-line-length = 88
102+
ignore = ["D203"]
103+
extend-ignore = ["E203", "W503"]
104+
per-file-ignores = ["__init__.py:F401"]
105+
exclude = [
106+
".git",
107+
".idea",
108+
"__pycache__",
109+
"build",
110+
"dist",
111+
"*/structs.py",
112+
"*/_version.py",
113+
"docs/*",
114+
]
115+
100116
[tool.pydocstyle]
101117
add_ignore = [
102118
"D105", # ignore undocumented dunder methods like ``__str__`

0 commit comments

Comments
 (0)