Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd121d2d

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

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 -epep8
35+
run:tox -eflake8
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)

[8]ページ先頭

©2009-2025 Movatter.jp