diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2aea22a..497d5ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: hooks: - id: pyupgrade - repo: https://github.com/PyCQA/isort - rev: 5.5.3 + rev: 5.5.4 hooks: - id: isort - repo: https://github.com/ambv/black @@ -36,7 +36,7 @@ repos: hooks: - id: rst-backticks - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "8cbca0caa1e3ea4a7606e974da3966169c375988" + rev: "0.2.0" hooks: - id: tox-ini-fmt - repo: https://github.com/asottile/setup-cfg-fmt @@ -45,7 +45,7 @@ repos: - id: setup-cfg-fmt args: [--min-py3-version, "3.4"] - repo: https://github.com/PyCQA/flake8 - rev: "master" + rev: "3.8.4" hooks: - id: flake8 additional_dependencies: ["flake8-bugbear == 20.1.4"] diff --git a/tox.ini b/tox.ini index 086793c..d8270ef 100644 --- a/tox.ini +++ b/tox.ini @@ -39,8 +39,8 @@ extras = commands = python -m coverage erase python -m coverage run -m pytest \ - --junitxml {toxworkdir}/junit.{envname}.xml \ - {posargs:tests --int --timeout 600 -n {env:PYTEST_XDIST:auto}} + --junitxml {toxworkdir}/junit.{envname}.xml \ + {posargs:tests --int --timeout 600 -n {env:PYTEST_XDIST:auto}} python -m coverage combine python -m coverage report --skip-covered --show-missing python -m coverage xml -o {toxworkdir}/coverage.{envname}.xml @@ -71,6 +71,7 @@ deps = coverage>=5.0.1 diff_cover>=3 extras = +parallel_show_output = true commands = python -m coverage combine python -m coverage report --skip-covered --show-missing @@ -86,7 +87,6 @@ depends = py27 pypy pypy3 -parallel_show_output = True [testenv:readme] description = check that the long description is valid (need for PyPI) @@ -135,6 +135,7 @@ changedir = {toxinidir}/tasks [testenv:dev] description = generate a DEV environment +usedevelop = true deps = setuptools_scm[toml]>=3.4 {[testenv:release]deps} @@ -144,7 +145,6 @@ extras = commands = python -m pip list --format=columns python -c 'import sys; print(sys.executable)' -usedevelop = True [testenv:zipapp] description = generate a zipapp