8000 Match renamed flake8 toxenv · gunnarx/github3.py@91d027c · GitHub
[go: up one dir, main page]

Skip to content

Commit 91d027c

Browse files
committed
Match renamed flake8 toxenv
I missed this in my earlier PR and want to ensure we actually run Flake8 against our codebase. Also, let's expand what versions of Python we tests against. As a result we need to drop our version cap of Pytest
1 parent b0f981a commit 91d027c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
- { VERSION: "3.6", TOXENV: "py36", ALLOW_FAILURE: false }
1313
- { VERSION: "3.7", TOXENV: "py37", ALLOW_FAILURE: false }
1414
- { VERSION: "3.8", TOXENV: "py38",ALLOW_FAILURE: false }
15-
- { VERSION: "3.9", TOXENV: "py39-flake8,doclint,docs,commitlint",ALLOW_FAILURE: false }
15+
- { VERSION: "3.9", TOXENV: "py39",ALLOW_FAILURE: false }
16+
- { VERSION: "3.10", TOXENV: "py310",ALLOW_FAILURE: false }
17+
- { VERSION: "3.9", TOXENV: "flake8,doclint,docs,commitlint", ALLOW_FAILURE: false }
1618
- { VERSION: "3.9", TOXENV: "docstrings", ALLOW_FAILURE: true}
1719
- { VERSION: "pypy3", TOXENV: "pypy", ALLOW_FAILURE: false }
1820

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,3 @@ where = src
4444

4545
[wheel]
4646
universal = 1
47-
48-
[tool.pytest]
49-
addopts = -nauto

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ passenv = GH_* APPVEYOR*
77
pip_pre = False
88
deps =
99
requests{env:REQUESTS_VERSION:>=2.0}
10-
pytest>=2.3.5, <5.0.0
10+
pytest
1111
pytest-xdist[psutil]
1212
betamax>=0.5.1
1313
betamax_matchers>=0.3.0
@@ -103,7 +103,7 @@ commands =
103103
twine check --strict {distdir}/*
104104

105105
[pytest]
106-
addopts = -q
106+
addopts = -q -nauto
107107
norecursedirs = *.egg .git .* _*
108108

109109
[doc8]

0 commit comments

Comments
 (0)
0