run pyupgrade

This commit is contained in:
Bastien Gérard
2020-03-11 23:21:38 +01:00
parent 8086576677
commit b234aa48e4
12 changed files with 54 additions and 65 deletions

View File

@@ -108,9 +108,6 @@ CLASSIFIERS = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
PYTHON_VERSION = sys.version_info[0]
PY3 = PYTHON_VERSION == 3
extra_opts = {
"packages": find_packages(exclude=["tests", "tests.*"]),
"tests_require": [
@@ -118,8 +115,7 @@ extra_opts = {
"pytest-cov",
"coverage<5.0", # recent coverage switched to sqlite format for the .coverage file which isn't handled properly by coveralls
"blinker",
"Pillow>=2.0.0, <7.0.0", # 7.0.0 dropped Python2 support
"zipp<2.0.0", # (dependency of pytest) dropped python2 support
"Pillow>=2.0.0",
],
}