Skip to content

Commit 2f49f00

Browse files
committed
chore(tooling): add tox.ini migration stub
Provide a tox.ini that prints migration messages directing users to the equivalent just recipes. Helps contributors still using muscle-memory `tox -e py3` commands discover the new workflow.
1 parent eac56ba commit 2f49f00

1 file changed

Lines changed: 85 additions & 0 deletions

File tree

tox.ini

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Migration stub: execution-specs now uses just (https://just.systems)
2+
# Install just: https://just.systems/man/en/pre-built-binaries.html
3+
#
4+
# Run `just` to see all available recipes.
5+
6+
[tox]
7+
envlist = py3
8+
9+
[testenv]
10+
allowlist_externals = printf, false
11+
skip_install = true
12+
deps =
13+
commands =
14+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n Run \033[1m"just"\033[0m to see all available recipes.\n\n'
15+
false
16+
17+
[testenv:py3]
18+
commands =
19+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust fill\033[0m\n\n'
20+
false
21+
22+
[testenv:pypy3]
23+
commands =
24+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust fill-pypy\033[0m\n\n'
25+
false
26+
27+
[testenv:json_loader]
28+
commands =
29+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust json-loader\033[0m\n\n'
30+
false
31+
32+
[testenv:static]
33+
commands =
34+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust static\033[0m\n\n'
35+
false
36+
37+
[testenv:tests_pytest_py3]
38+
commands =
39+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust test-tests\033[0m\n\n'
40+
false
41+
42+
[testenv:tests_pytest_pypy3]
43+
commands =
44+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust test-tests-pypy\033[0m\n\n'
45+
false
46+
47+
[testenv:tests_benchmark_pytest_py3]
48+
commands =
49+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust test-tests-bench\033[0m\n\n'
50+
false
51+
52+
[testenv:benchmark-gas-values]
53+
commands =
54+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust bench-gas\033[0m\n\n'
55+
false
56+
57+
[testenv:benchmark-fixed-opcode-cli]
58+
commands =
59+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust bench-opcode\033[0m\n\n'
60+
false
61+
62+
[testenv:benchmark-fixed-opcode-config]
63+
commands =
64+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust bench-opcode-config\033[0m\n\n'
65+
false
66+
67+
[testenv:spec-docs]
68+
commands =
69+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust spec-docs\033[0m\n\n'
70+
false
71+
72+
[testenv:mkdocs]
73+
commands =
74+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust docs\033[0m\n\n'
75+
false
76+
77+
[testenv:changelog]
78+
commands =
79+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust changelog\033[0m\n\n'
80+
false
81+
82+
[testenv:markdownlint]
83+
commands =
84+
printf '\n\033[1m execution-specs has migrated from tox to just.\033[0m\n Install just: https://just.systems/man/en/pre-built-binaries.html\n\n This tox env can be run using just via:\n \033[1mjust lint-md\033[0m\n\n'
85+
false

0 commit comments

Comments
 (0)