Skip to content

Commit

Permalink
Update tox
Browse files Browse the repository at this point in the history
  • Loading branch information
cblakkan committed Mar 5, 2024
1 parent f8aa2b0 commit 539ab12
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.10]
python-version: ["3.8", "3.10", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pip-delete-this-directory.txt
# Unit test / coverage reports
.tox/
xunit/
.coverage
.coverage*
.cache
nosetests.xml
coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ validator.
- keywords:
- `allow_empty`: Allow the subset to be empty (and is, therefore, also optional). This overrides the `required`
flag.

Examples:
- `subset(int(), str())`: Validators against an integer, a string, or a list of either.
- `subset(int(), str(), allow_empty=True)`: Same as above, but allows the empty set and makes the subset optional.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tox==3.15.2
tox==4.13.0
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ envlist = py38, py310
python =
3.8: py38
3.10: py310
3.12: py312

[testenv]
commands = py.test --cov yamale --cov-report term-missing yamale
deps =
ruamel.yaml<1
pytest<6
pytest-cov<3
pytest<7
pytest-cov<4
2 changes: 1 addition & 1 deletion yamale/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.4
5.0.0

0 comments on commit 539ab12

Please sign in to comment.