@@ -78,7 +78,7 @@ docs = [
78
78
" mkdocstrings-python>=1.0.0,<2" ,
79
79
" pillow>=10.0.1,<11" ,
80
80
" pyspelling>=2.8.2,<3" ,
81
- " lxml>=6.0.0,<7" , # needs to be >= 6.0 for pypy
81
+ " lxml>=6.0.0,<7" , # needs to be >= 6.0 for pypy
82
82
" setuptools==78.0.2" ,
83
83
]
84
84
@@ -127,10 +127,13 @@ ethereum_test_forks = ["forks/contracts/*.bin"]
127
127
line-length = 99
128
128
129
129
[tool .ruff .lint ]
130
- select = [" E" , " F" , " B" , " W" , " I" , " A" , " N" , " D" , " C" ]
130
+ select = [" E" , " F" , " B" , " W" , " I" , " A" , " N" , " D" , " C" , " ARG001 " ]
131
131
fixable = [" I" , " B" , " E" , " F" , " W" , " D" , " C" ]
132
132
ignore = [" D205" , " D203" , " D212" , " D415" , " C420" , " C901" ]
133
133
134
+ [tool .ruff .lint .per-file-ignores ]
135
+ "tests/*" = [" ARG001" ] # TODO: ethereum/execution-spec-tests#2188
136
+
134
137
[tool .mypy ]
135
138
disable_error_code = [" import-untyped" ]
136
139
mypy_path = [" src" , " $MYPY_CONFIG_FILE_DIR/stubs" ]
@@ -157,9 +160,15 @@ ignore-words-list = "ingenuous"
157
160
[tool .pytest .ini_options ]
158
161
console_output_style = " count"
159
162
minversion = " 7.0"
160
- python_files = [" test_*.py" ]
161
- testpaths = [" src" ]
163
+ python_files = [
164
+ " test_*.py"
165
+ ]
166
+ testpaths = [
167
+ " src"
168
+ ]
162
169
addopts = [
170
+ " -p" , " pytester" ,
171
+ " -p" , " pytest_plugins.eels_resolver" ,
163
172
" --ignore=src/pytest_plugins/consume/test_cache.py" ,
164
173
" --ignore=src/pytest_plugins/consume/direct/" ,
165
174
" --ignore=src/pytest_plugins/consume/simulators/" ,
0 commit comments