#1326 replaced flake8, isort and black with ruff 🚀
While tox -e static runs ruff check which handles the checks isort and flake8 were previously responsible for:
|
[testenv:static] |
|
extras = |
|
lint |
|
optimized |
|
test |
|
doc |
|
commands = |
|
codespell -I whitelist.txt {tox_root}/src --skip '{tox_root}/src/ethereum_spec_tests' |
|
ruff check src --exclude src/ethereum_spec_tests |
|
mypy src --exclude "src/ethereum_spec_tests/*" --namespace-packages |
|
ethereum-spec-lint |
|
uv lock --check |
tox doesn't have the checks that black previously performed, i.e., we should still add:
ruff format --check src --exclude src/ethereum_spec_tests
Unfortunately, as it stands, this would reformat 389 files.
#1326 replaced
flake8,isortandblackwithruff🚀While
tox -e staticrunsruff checkwhich handles the checksisortandflake8were previously responsible for:execution-specs/tox.ini
Lines 11 to 22 in 51cabd8
toxdoesn't have the checks thatblackpreviously performed, i.e., we should still add:Unfortunately, as it stands, this would reformat 389 files.