diff options
author | Julian Berman <Julian@GrayVines.com> | 2022-12-05 16:43:07 -0500 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2022-12-05 16:46:27 -0500 |
commit | 09b28bbe904cf45488dfe33dd16a893f335e3d97 (patch) | |
tree | 88a30a12cc3f9f2a6a7e4e83618488704b4d0634 /tox.ini | |
parent | 3c2b16941b3796388ef46ef43adf0a73a4bd5ce7 (diff) | |
download | jsonschema-09b28bbe904cf45488dfe33dd16a893f335e3d97.tar.gz |
Run pip-licenses on the format-nongpl extra.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,7 +1,7 @@ [tox] envlist = py{37,38,39,310,311,py3}-{noextra,format,formatnongpl}-{build,tests} - audit + {noextra,format,formatnongpl}-audit readme secrets style @@ -26,6 +26,11 @@ commands = format,perf,perfsuite: {envpython} -m pip install --disable-pip-version-check '{toxinidir}[format]' formatnongpl: {envpython} -m pip install --disable-pip-version-check '{toxinidir}[format-nongpl]' + audit: {envpython} -m pip_audit + 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)" + + build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist + # Ignore the deprecation warning until pypa/setuptools#3276 is released tests,coverage,codecov: {envpython} -Werror -W"ignore:module 'sre_constants' is deprecated:DeprecationWarning" -m {env:MAYBE_COVERAGE:} twisted.trial {posargs:jsonschema} tests: {envpython} -m doctest {toxinidir}/README.rst @@ -37,9 +42,10 @@ commands = perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-issue232.json} 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} - - build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist deps = + audit: pip-audit + audit-formatnongpl: pip-licenses + build: build perf,perfsuite: pyperf @@ -63,12 +69,6 @@ commands = {envpython} -m twine check {envtmpdir}/dist/* {envbindir}/rst2html5.py --halt=warning {toxinidir}/CHANGELOG.rst /dev/null -[testenv:audit] -deps = pip-audit -commands = - {envpython} -m pip install --disable-pip-version-check '{toxinidir}[format]' - {envpython} -m pip_audit - [testenv:secrets] deps = detect-secrets commands = {envbindir}/detect-secrets scan {toxinidir} |