Skip to content

Commit

Permalink
Merge pull request #2019 from python-gitlab/jlvillal/tox
Browse files Browse the repository at this point in the history
Some improvements to our tox environment defaults
  • Loading branch information
nejch committed May 10, 2022
2 parents d68cacf + 55ace1d commit d121d2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Run black code formatter (https://black.readthedocs.io/en/stable/)
run: tox -e black -- --check
- name: Run flake8 (https://flake8.pycqa.org/en/latest/)
run: tox -e pep8
run: tox -e flake8
- name: Run mypy static typing checker (http://mypy-lang.org/)
run: tox -e mypy
- name: Run isort import order checker (https://pycqa.github.io/isort/)
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -2,7 +2,7 @@
minversion = 1.6
skipsdist = True
skip_missing_interpreters = True
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort,cz
envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint

[testenv]
passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR
Expand Down Expand Up @@ -38,7 +38,7 @@ deps = -r{toxinidir}/requirements-lint.txt
commands =
mypy {posargs}

[testenv:pep8]
[testenv:flake8]
basepython = python3
envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
Expand Down

0 comments on commit d121d2d

Please sign in to comment.