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 52e9f7c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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"]

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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Yamale (ya·ma·lē)
| :warning: Ensure that your schema definitions come from internal or trusted sources. Yamale does not protect against intentionally malicious schemas. |
|:------------|

<img src="https://github.com/23andMe/Yamale/blob/master/yamale.png?raw=true" alt="Yamale" width="400"/>
<img src="https://github.com/23andMe/Yamale/blob/main/yamale.png?raw=true" alt="Yamale" width="400"/>

A schema and validator for YAML.

Expand Down Expand Up @@ -35,7 +35,7 @@ building Python 3 from source; in all three cases, Apple's Command Line Tools (C
may be required. See also [developers](#developers), below.

### Manual
1. Download Yamale from: https://github.com/23andMe/Yamale/archive/master.zip
1. Download Yamale from: https://github.com/23andMe/Yamale/archive/main.zip
2. Unzip somewhere temporary
3. Run `python setup.py install` (may have to prepend `sudo`)

Expand Down 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
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ python =
commands = py.test --cov yamale --cov-report term-missing yamale
deps =
ruamel.yaml<1
pytest<6
pytest-cov<3
pytest<7
pytest-cov<4

0 comments on commit 52e9f7c

Please sign in to comment.