Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dev = [
"pyright",
"ruff",
"typing-extensions",
"flake8-pyproject",
]

[tool.pyright]
Expand Down Expand Up @@ -70,3 +71,16 @@ section-order = [
"local-folder",
"typing",
]

# ruff doesn't provide all the pycodestyle rules, and pycodestyle is not well
# supported by some IDEs, so we use flake8 for that
[tool.flake8]
max-line-length = 120
ignore = [
"E261", # At least two spaces before inline comment
"E302", # Expected 2 blank lines, found 0
"E305", # Expected 2 blank lines after end of function or class
"W503", # Line break occurred before a binary operator
"F", # already done by ruff
]
exclude=[".git", ".venv"]
1 change: 1 addition & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ flake8
pyright
ruff
typing-extensions
flake8-pyproject
-r base.txt
4 changes: 0 additions & 4 deletions setup.cfg

This file was deleted.

13 changes: 13 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.