From 0179b3f36ffe4c47fb2fdf07f8516f1b9889b080 Mon Sep 17 00:00:00 2001 From: Cordell Blakkan Date: Tue, 5 Mar 2024 11:58:40 -0500 Subject: [PATCH] Update tox --- .github/workflows/run-tests.yml | 2 +- README.md | 6 +++--- requirements.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7fc4844..84db92a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 diff --git a/README.md b/README.md index b16e89a..4f1eb15 100644 --- a/README.md +++ b/README.md @@ -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. | |:------------| -Yamale +Yamale A schema and validator for YAML. @@ -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`) @@ -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. diff --git a/requirements.txt b/requirements.txt index 534bbce..ed71f87 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -tox==3.15.2 +tox==4.13.0