@@ -111,36 +111,37 @@ spaces_indent_inline_array = 4
111111trailing_comma_inline_array = true
112112overrides."project.classifiers".inline_arrays = false
113113overrides."tool.coverage.paths.source".inline_arrays = false
114+ overrides."tool.tox.env.docs.commands".inline_arrays = false
115+ overrides."tool.tox.env_run_base.commands".inline_arrays = false
114116
115117[tool .tox ]
116- legacy_tox_ini = """
117- [gh-actions]
118- python =
119- {%- for python_version in range(
120- cookiecutter.min_python_version | replace('3.', '') | int,
121- cookiecutter.max_python_version | replace('3.', '') | int + 1
122- ) %}
123- 3.{{python_version}}: py3{{python_version}}
124- {%- endfor %}
125-
126- [testenv]
127- commands =
128- pytest --cov --cov-report=xml
129- extras =
130- test
131-
132- [testenv:docs]
133- commands =
134- mkdocs build --strict
135- extras =
136- docs
137-
138- [tox]
139- env_list =
140- {%- for python_version in range(
141- cookiecutter.min_python_version | replace('3.', '') | int,
142- cookiecutter.max_python_version | replace('3.', '') | int + 1
143- ) %}
144- py3{{python_version}}
145- {%- endfor %}
146- """
118+ env_list = [
119+ {%- for python_version in range(
120+ cookiecutter.min_python_version | replace('3.', '') | int,
121+ cookiecutter.max_python_version | replace('3.', '') | int + 1
122+ ) %}
123+ "py3{{python_version}}",
124+ {%- endfor %}
125+ ]
126+ env_run_base = {commands = [
127+ [
128+ " pytest" ,
129+ " --cov" ,
130+ " --cov-report=xml" ,
131+ ],
132+ ], extras = [
133+ " test" ,
134+ ]}
135+ env.docs = {commands = [
136+ " mkdocs" ,
137+ " build" ,
138+ " --strict" ,
139+ ], extras = [
140+ " docs" ,
141+ ]}
142+ {%- for python_version in range(
143+ cookiecutter.min_python_version | replace('3.', '') | int,
144+ cookiecutter.max_python_version | replace('3.', '') | int + 1
145+ ) %}
146+ gh.python."3.{{python_version}}" = [" py3{{python_version}}" ]
147+ {%- endfor %}
0 commit comments