Skip to content

Commit

Permalink
build: move flake8 config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanljones committed Oct 20, 2023
1 parent aec92c5 commit b2b63cf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,22 @@ force-exclude = """

# -- Linting ---------------------------------------------------------------------------

[tool.flake8]
max-line-length = 88
ignore = ["D203"]
extend-ignore = ["E203", "W503"]
per-file-ignores = ["__init__.py:F401"]
exclude = [
".git",
".idea",
"__pycache__",
"build",
"dist",
"*/structs.py",
"*/_version.py",
"docs/*",
]

[tool.pydocstyle]
add_ignore = [
"D105", # ignore undocumented dunder methods like ``__str__`
Expand Down

0 comments on commit b2b63cf

Please sign in to comment.