@@ -4,12 +4,11 @@ requires =
44 tox-uv >=1.29
55envlist = py3,pypy3,json_infra,static,tests_pytest_py3,tests_pytest_pypy3
66
7-
87[eest]
98runner = uv-venv-lock-runner
10- package = editable
9+ uv_seed = false
1110wheel_build_env = .pkg
12- python_source_dirs = src/ethereum_spec_tests tests # .github/scripts
11+ python_source_dirs = src/ethereum_spec_tests tests packages/tests .github/scripts
1312
1413[testenv]
1514runner = uv-venv-lock-runner
@@ -22,7 +21,7 @@ extras =
2221 test
2322 doc
2423commands =
25- codespell -I whitelist.txt src tests/evm_tools tests/json_infra packages
24+ codespell -I whitelist.txt src tests/evm_tools tests/json_infra packages docs src/ethereum_spec_tests tests packages/tests
2625 ruff check src packages tests --exclude tests/fixtures
2726 ruff format src packages tests --check
2827 mypy
@@ -131,18 +130,6 @@ commands =
131130 docc --output " {toxworkdir}/docs"
132131 python -c ' import pathlib; print("documentation available under file://\{ 0\} ".format(pathlib.Path(r"{toxworkdir}") / "docs" / "index.html"))'
133132
134- [testenv:eest-spellcheck]
135- description = Spellcheck EEST code and documentation (codespell)
136- extras = docs
137- runner = {[eest]runner}
138- package = {[eest]package}
139- wheel_build_env = {[eest]wheel_build_env}
140- passenv =
141- GITHUB_ACTIONS
142- GITHUB_STEP_SUMMARY
143- commands =
144- codespell --ignore-words =whitelist-eest.txt {[eest]python_source_dirs} docs
145-
146133[testenv:eest-changelog]
147134description = Validate EEST changelog entries
148135extras = docs
@@ -162,8 +149,8 @@ runner = {[eest]runner}
162149package = {[eest]package}
163150wheel_build_env = {[eest]wheel_build_env}
164151commands =
165- # ruff check --no-fix --show-fixes docs/scripts
166- # ruff format --check docs/scripts
152+ ruff check --no-fix --show-fixes docs/scripts
153+ ruff format --check docs/scripts
167154 mkdocs build --strict
168155
169156[testenv:eest-markdownlint]
@@ -174,9 +161,8 @@ package = {[eest]package}
174161commands = python -c " import packages.tests.src.cli.tox_helpers; packages.tests.src.cli.tox_helpers.markdownlint()"
175162
176163[testenv:eest-docs]
177- description = Alias that runs all documentation checks (spellcheck, markdownlint, mkdocs).
164+ description = Alias that runs EEST documentation checks (spellcheck, markdownlint, mkdocs)
178165extras =
179- {[testenv:eest-spellcheck]extras}
180166 {[testenv:eest-markdownlint]extras}
181167 {[testenv:eest-mkdocs]extras}
182168runner = {[eest]runner}
@@ -187,3 +173,19 @@ commands =
187173 {[testenv:eest-spellcheck]commands}
188174 {[testenv:eest-markdownlint]commands}
189175 {[testenv:eest-mkdocs]commands}
176+
177+ [testenv:docs]
178+ description = Alias that runs all documentation checks (spellcheck, markdownlint, mkdocs)
179+ extras =
180+ {[testenv:eest-markdownlint]extras}
181+ {[testenv:eest-mkdocs]extras}
182+ doc
183+ runner = {[eest]runner}
184+ package = {[eest]package}
185+ setenv =
186+ {[testenv:eest-mkdocs]setenv}
187+ commands =
188+ codespell -I whitelist.txt docs
189+ {[testenv:eest-markdownlint]commands}
190+ {[testenv:eest-mkdocs]commands}
191+ {[testenv:doc]commands}
0 commit comments