-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(templates): Update dependencies in templates (#2695)
* refactor(templates): Update dependencies in templates * Simpler Ruff config
- Loading branch information
1 parent
a4a071f
commit 5c68b09
Showing
16 changed files
with
40 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 6 additions & 13 deletions
19
cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/tox.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
# This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy | ||
|
||
[tox] | ||
envlist = py{39,310,311,312} | ||
isolated_build = true | ||
envlist = py3{9,10,11,12} | ||
requires = | ||
tox>=4.19 | ||
|
||
[testenv] | ||
allowlist_externals = poetry | ||
deps = | ||
pytest | ||
commands = | ||
poetry install -v | ||
poetry run pytest | ||
|
||
[testenv:pytest] | ||
# Run the python tests. | ||
# To execute, run `tox -e pytest` | ||
envlist = py{39,310,311,312} | ||
commands = | ||
poetry install -v | ||
poetry run pytest | ||
pytest {posargs} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
# This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy | ||
|
||
[tox] | ||
envlist = py{39,310,311,312} | ||
isolated_build = true | ||
envlist = py3{9,10,11,12} | ||
requires = | ||
tox>=4.19 | ||
|
||
[testenv] | ||
allowlist_externals = poetry | ||
deps = | ||
pytest | ||
commands = | ||
poetry install -v | ||
poetry run pytest | ||
|
||
[testenv:pytest] | ||
# Run the python tests. | ||
# To execute, run `tox -e pytest` | ||
envlist = py{39,310,311,312} | ||
commands = | ||
poetry install -v | ||
poetry run pytest | ||
pytest {posargs} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 6 additions & 13 deletions
19
cookiecutter/target-template/{{cookiecutter.target_id}}/tox.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
# This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy | ||
|
||
[tox] | ||
envlist = py{39,310,311,312} | ||
isolated_build = true | ||
envlist = py3{9,10,11,12} | ||
requires = | ||
tox>=4.19 | ||
|
||
[testenv] | ||
allowlist_externals = poetry | ||
deps = | ||
pytest | ||
commands = | ||
poetry install -v | ||
poetry run pytest | ||
|
||
[testenv:pytest] | ||
# Run the python tests. | ||
# To execute, run `tox -e pytest` | ||
envlist = py{39,310,311,312} | ||
commands = | ||
poetry install -v | ||
poetry run pytest | ||
pytest {posargs} |