Skip to content

Commit 40e9596

Browse files
committed
Update version of validate-pyproject
1 parent d007b89 commit 40e9596

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

setuptools/config/_validate_pyproject/NOTICE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The code contained in this directory was automatically generated using the
22
following command:
33

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

66
Please avoid changing it manually.
77

@@ -31,7 +31,7 @@ by the same projects:
3131
- `__init__.py`
3232
- `fastjsonschema_validations.py`
3333

34-
The relevant copyright notes and licenses are included bellow.
34+
The relevant copyright notes and licenses are included below.
3535

3636

3737
***

setuptools/config/_validate_pyproject/formats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __call__(self, value: str) -> bool:
139139
if self.downloaded is False:
140140
return True
141141

142-
if os.getenv("NO_NETWORK"):
142+
if os.getenv("NO_NETWORK") or os.getenv("VALIDATE_PYPROJECT_NO_NETWORK"):
143143
self.downloaded = False
144144
msg = (
145145
"Install ``trove-classifiers`` to ensure proper validation. "

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ commands =
6868
[testenv:generate-validation-code]
6969
skip_install = True
7070
deps =
71-
validate-pyproject[all]==0.6.1
71+
validate-pyproject[all]==0.7
7272
commands =
7373
python -m tools.generate_validation_code
7474

0 commit comments

Comments
 (0)