Unpin pytest, pacify new flake8
This commit is contained in:
parent
290cf2a3f0
commit
4202dcbce0
6
setup.py
6
setup.py
|
@ -41,7 +41,7 @@ EXTRAS_REQUIRE = {
|
|||
"coverage",
|
||||
"hypothesis",
|
||||
"pympler",
|
||||
"pytest<3.9",
|
||||
"pytest",
|
||||
"six",
|
||||
"zope.interface",
|
||||
],
|
||||
|
@ -87,7 +87,9 @@ LONG = (
|
|||
+ "Release Information\n"
|
||||
+ "===================\n\n"
|
||||
+ re.search(
|
||||
"(\d+.\d.\d \(.*?\)\n.*?)\n\n\n----\n\n\n", read("CHANGELOG.rst"), re.S
|
||||
r"(\d+.\d.\d \(.*?\)\n.*?)\n\n\n----\n\n\n",
|
||||
read("CHANGELOG.rst"),
|
||||
re.S,
|
||||
).group(1)
|
||||
+ "\n\n`Full changelog "
|
||||
+ "<{url}en/stable/changelog.html>`_.\n\n".format(url=URL)
|
||||
|
|
|
@ -136,7 +136,7 @@ class _InValidator(object):
|
|||
def __call__(self, inst, attr, value):
|
||||
try:
|
||||
in_options = value in self.options
|
||||
except TypeError as e: # e.g. `1 in "abc"`
|
||||
except TypeError: # e.g. `1 in "abc"`
|
||||
in_options = False
|
||||
|
||||
if not in_options:
|
||||
|
|
Loading…
Reference in New Issue