summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-01-19 13:43:51 -0500
committerGitHub <noreply@github.com>2020-01-19 13:43:51 -0500
commitc9fb0772fb3c147fce7affe7fcd0aa96435005d2 (patch)
treeeb64017ae5a99a872b087c3d6ded84cc9d4ccca8
parentdabd73137f97145cc95c114937c95b217ac76876 (diff)
parent4ea498b752fc89fd47c795f46fa1ff66c314dc58 (diff)
downloadpython-setuptools-git-c9fb0772fb3c147fce7affe7fcd0aa96435005d2.tar.gz
Merge pull request #1968 from hugovk/flake8-2020
Add flake8-2020 to tests/requirements.txt
-rw-r--r--changelog.d/1968.misc.rst1
-rw-r--r--tests/requirements.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/1968.misc.rst b/changelog.d/1968.misc.rst
new file mode 100644
index 00000000..4aa5343f
--- /dev/null
+++ b/changelog.d/1968.misc.rst
@@ -0,0 +1 @@
+Add flake8-2020 to check for misuse of sys.version or sys.version_info.
diff --git a/tests/requirements.txt b/tests/requirements.txt
index 4b5e0eeb..19bf5aef 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -1,5 +1,6 @@
mock
pytest-flake8
+flake8-2020; python_version>="3.6"
virtualenv>=13.0.0
pytest-virtualenv>=1.2.7
pytest>=3.7