Skip to content

Commit d121d2d

Browse files
authored
Merge pull request #2019 from python-gitlab/jlvillal/tox
Some improvements to our tox environment defaults
2 parents d68cacf + 55ace1d commit d121d2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Run black code formatter (https://black.readthedocs.io/en/stable/)
3333
run: tox -e black -- --check
3434
- name: Run flake8 (https://flake8.pycqa.org/en/latest/)
35-
run: tox -e pep8
35+
run: tox -e flake8
3636
- name: Run mypy static typing checker (http://mypy-lang.org/)
3737
run: tox -e mypy
3838
- name: Run isort import order checker (https://pycqa.github.io/isort/)

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 1.6
33
skipsdist = True
44
skip_missing_interpreters = True
5-
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort,cz
5+
envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint
66

77
[testenv]
88
passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR
@@ -38,7 +38,7 @@ deps = -r{toxinidir}/requirements-lint.txt
3838
commands =
3939
mypy {posargs}
4040

41-
[testenv:pep8]
41+
[testenv:flake8]
4242
basepython = python3
4343
envdir={toxworkdir}/lint
4444
deps = -r{toxinidir}/requirements-lint.txt

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy