Skip to content

Commit

Permalink
Update version of validate-pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Mar 30, 2022
1 parent d007b89 commit 40e9596
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setuptools/config/_validate_pyproject/NOTICE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The code contained in this directory was automatically generated using the
following command:

python -m validate_pyproject.vendoring --output-dir=setuptools/config/_validate_pyproject --enable-plugins setuptools distutils --very-verbose
python -m validate_pyproject.pre_compile --output-dir=setuptools/config/_validate_pyproject --enable-plugins setuptools distutils --very-verbose

Please avoid changing it manually.

Expand Down Expand Up @@ -31,7 +31,7 @@ by the same projects:
- `__init__.py`
- `fastjsonschema_validations.py`

The relevant copyright notes and licenses are included bellow.
The relevant copyright notes and licenses are included below.


***
Expand Down
2 changes: 1 addition & 1 deletion setuptools/config/_validate_pyproject/formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __call__(self, value: str) -> bool:
if self.downloaded is False:
return True

if os.getenv("NO_NETWORK"):
if os.getenv("NO_NETWORK") or os.getenv("VALIDATE_PYPROJECT_NO_NETWORK"):
self.downloaded = False
msg = (
"Install ``trove-classifiers`` to ensure proper validation. "
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ commands =
[testenv:generate-validation-code]
skip_install = True
deps =
validate-pyproject[all]==0.6.1
validate-pyproject[all]==0.7
commands =
python -m tools.generate_validation_code

Expand Down

0 comments on commit 40e9596

Please sign in to comment.