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
43 changes: 39 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ Changelog = "https://eest.ethereum.org/main/CHANGELOG/"

[project.optional-dependencies]
test = ["pytest-cov>=4.1.0,<5"]
lint = ["ruff==0.11.8", "mypy>=1.15.0,<1.16", "types-requests>=2.31,<2.33"]
lint = [
"ruff==0.13.2",
"mypy>=1.15.0,<1.16",
"types-requests>=2.31,<2.33",
]
docs = [
"cairosvg>=2.7.0,<3",
"codespell>=2.4.1,<3",
Expand Down Expand Up @@ -128,9 +132,40 @@ ethereum_test_forks = ["forks/contracts/*.bin"]
line-length = 99

[tool.ruff.lint]
select = ["E", "F", "B", "W", "I", "A", "N", "D", "C", "ARG001"]
fixable = ["I", "B", "E", "F", "W", "D", "C"]
ignore = ["D200", "D205", "D203", "D212", "D415", "C420", "C901"]
select = [
"E", # pycodestyle errors
"F", # Pyflakes
"B", # flake8-bugbear
"W", # pycodestyle warnings
"I", # isort
"A", # flake8-builtins
"N", # pep8-naming
"D", # pydocstyle
"C4", # flake8-comprehensions
"ARG", # flake8-unused-arguments
]
fixable = [
"E", # pycodestyle errors
"F", # Pyflakes
"B", # flake8-bugbear
"W", # pycodestyle warnings
"I", # isort
"D", # pydocstyle
]
ignore = [
"C401", # Unnecessary generator set
"C408", # Unnecessary collection call
"D107", # Missing docstring in __init__
"D200", # One-line docstring should fit on one line with quotes
"D203", # 1 blank line required before class docstring
"D205", # Missing blank line after summary
"D212", # Multi-line docstring summary should start at the first line
"D401", # First line should be in imperative mood ("Do", not "Does")
# TODO: ethereum/execution-spec-tests#2176
"ARG002", # unused-method-argument
"ARG003", # unused-class-method-argument
"ARG005", # unused-lambda-argument
]

[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ARG001"] # TODO: ethereum/execution-spec-tests#2188
Expand Down
45 changes: 23 additions & 22 deletions uv.lock

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

Loading