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",
|
"coverage",
|
||||||
"hypothesis",
|
"hypothesis",
|
||||||
"pympler",
|
"pympler",
|
||||||
"pytest<3.9",
|
"pytest",
|
||||||
"six",
|
"six",
|
||||||
"zope.interface",
|
"zope.interface",
|
||||||
],
|
],
|
||||||
|
@ -87,7 +87,9 @@ LONG = (
|
||||||
+ "Release Information\n"
|
+ "Release Information\n"
|
||||||
+ "===================\n\n"
|
+ "===================\n\n"
|
||||||
+ re.search(
|
+ 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)
|
).group(1)
|
||||||
+ "\n\n`Full changelog "
|
+ "\n\n`Full changelog "
|
||||||
+ "<{url}en/stable/changelog.html>`_.\n\n".format(url=URL)
|
+ "<{url}en/stable/changelog.html>`_.\n\n".format(url=URL)
|
||||||
|
|
|
@ -136,7 +136,7 @@ class _InValidator(object):
|
||||||
def __call__(self, inst, attr, value):
|
def __call__(self, inst, attr, value):
|
||||||
try:
|
try:
|
||||||
in_options = value in self.options
|
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
|
in_options = False
|
||||||
|
|
||||||
if not in_options:
|
if not in_options:
|
||||||
|
|
Loading…
Reference in New Issue