Skip to content

Commit c77fdd3

Browse files
committed
consolidate spellcheck
1 parent 0020a23 commit c77fdd3

File tree

6 files changed

+1276
-1526
lines changed

6 files changed

+1276
-1526
lines changed

docs/templates/function_parameter_datatable.html.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
</div>
4343
</div>
4444
<table id="test_table" class="display compact nowrap">
45-
<thead>
45+
<thread>
4646
<tr>
4747
<th>Test ID (Abbreviated)</th>
4848
{% for header in cases[0].params.keys() %}
4949
<th>{{ header }}</th>
5050
{% endfor %}
5151
</tr>
52-
</thead>
52+
</thread>
5353
<tbody>
5454
{% for case in cases %}
5555
<tr data-fork="{{ case.fork }}" data-fixture="{{ case.fixture_type }}">

tests/static/state_tests/stStaticFlagEnabled/StaticcallForPrecompilesIssue683Filler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ StaticcallForPrecompilesIssue683:
44
comment: |
55
Bytecode from issue 683, that initially show the problem with staticcall in hevm.
66
Issue link: https://github.com/ethereum/tests/issues/683
7-
Pullrequest link with original bytecode: https://github.com/dapphub/dapptools/pull/360
7+
Pull request link with original bytecode: https://github.com/dapphub/dapptools/pull/360
88
env:
99
currentCoinbase: '0xcafe000000000000000000000000000000000001'
1010
currentDifficulty: '0x20000'

tox.ini

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ requires =
44
tox-uv >=1.29
55
envlist = py3,pypy3,json_infra,static,tests_pytest_py3,tests_pytest_pypy3
66

7-
87
[eest]
98
runner = uv-venv-lock-runner
10-
package = editable
9+
uv_seed = false
1110
wheel_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]
1514
runner = uv-venv-lock-runner
@@ -22,7 +21,7 @@ extras =
2221
test
2322
doc
2423
commands =
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]
147134
description = Validate EEST changelog entries
148135
extras = docs
@@ -162,8 +149,8 @@ runner = {[eest]runner}
162149
package = {[eest]package}
163150
wheel_build_env = {[eest]wheel_build_env}
164151
commands =
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}
174161
commands = 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)
178165
extras =
179-
{[testenv:eest-spellcheck]extras}
180166
{[testenv:eest-markdownlint]extras}
181167
{[testenv:eest-mkdocs]extras}
182168
runner = {[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}

uv.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)