Bump linters (#1966)

This commit is contained in:
Bernát Gábor 2020-10-03 15:44:36 +01:00 committed by GitHub
parent 368f830bbb
commit 59277f0340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -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"]

View file

@ -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