@@ -14,6 +14,9 @@ skipsdist = True
14
14
changedir = {envtmpdir}
15
15
passenv = CI, GITHUB_STEP_SUMMARY, PYTHONUTF8
16
16
setenv =
17
+ PIP_DISABLE_PIP_VERSION_CHECK = 1
18
+ PIP_QUIET = 1
19
+
17
20
JSON_SCHEMA_TEST_SUITE = {toxinidir}/json
18
21
19
22
coverage,ghcoverage: MAYBE_COVERAGE =coverage run -m
@@ -24,9 +27,9 @@ allowlist_externals =
24
27
mkdir
25
28
sh
26
29
commands =
27
- noextra: {envpython} -m pip install --disable-pip-version-check {toxinidir}
28
- format,perf,perfsuite : {envpython} -m pip install --disable-pip-version-check ' {toxinidir}[format]'
29
- formatnongpl: {envpython} -m pip install --disable-pip-version-check ' {toxinidir}[format-nongpl]'
30
+ noextra: {envpython} -m pip install {toxinidir}
31
+ format,perf: {envpython} -m pip install ' {toxinidir}[format]'
32
+ formatnongpl: {envpython} -m pip install ' {toxinidir}[format-nongpl]'
30
33
31
34
audit: {envpython} -m pip_audit
32
35
audit-formatnongpl: {envpython} -m piplicenses {posargs} --ignore-packages pip-requirements-parser pip_audit pip-api --allow-only =" Apache Software License;ISC License (ISCL);MIT License;BSD License;Mozilla Public License 2.0 (MPL 2.0)"
@@ -40,15 +43,16 @@ commands =
40
43
coverage: {envpython} -m coverage html --directory ={envtmpdir}/htmlcov
41
44
ghcoverage: sh {toxinidir}/.github/coverage.sh " {envpython}"
42
45
43
- perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-issue232.json}
44
- perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-json_schema_test_suite.json}
46
+ perf-create: {envpython} {toxinidir}/jsonschema/benchmarks/validator_creation.py {posargs:--output {envtmpdir}/bench-create.json}
47
+ perf-232: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py {posargs:--output {envtmpdir}/bench-issue232.json}
48
+ perf-suite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-json_schema_test_suite.json}
45
49
deps =
46
50
audit: pip-audit
47
51
audit-formatnongpl: pip-licenses
48
52
49
53
build: build
50
54
51
- perf,perfsuite : pyperf
55
+ perf: pyperf
52
56
53
57
tests,coverage,ghcoverage: twisted
54
58
0 commit comments