Skip to content

Commit 7506847

Browse files
committedJul 8, 2019
fix CI build
1 parent 076dfee commit 7506847

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed
 

‎.appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# To activate, change the Appveyor settings to use `.appveyor.yml`.
22
install:
3-
- python -m pip install tox
3+
- python -m pip install --upgrade tox virtualenv
44

55
build: off
66

‎pytest.ini

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ filterwarnings =
55
error
66
# python3.4 raises this when importing setuptools
77
ignore:The value of convert_charrefs will become True in 3.5.*:DeprecationWarning
8+
# python3 raises this when importing setuptools
9+
ignore:the imp module is deprecated in favour of importlib.*:PendingDeprecationWarning
10+
ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning

‎src/flake8/checker.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,9 @@ def run_check(self, plugin, **arguments):
435435
return plugin["plugin"](**arguments)
436436
except Exception as all_exc:
437437
LOG.critical(
438-
"Plugin %s raised an unexpected exception", plugin["name"],
439-
exc_info=True
438+
"Plugin %s raised an unexpected exception",
439+
plugin["name"],
440+
exc_info=True,
440441
)
441442
raise exceptions.PluginExecutionFailed(
442443
plugin=plugin, exception=all_exc

‎tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ deps =
4747
flake8
4848
flake8-colors
4949
flake8-docstrings>=0.2.7
50+
# remove when https://gitlab.com/pycqa/flake8-docstrings/issues/36 is fixed
51+
pydocstyle<4
5052
flake8-import-order>=0.9
5153
flake8-typing-imports>=1.1
5254
pep8-naming

0 commit comments

Comments
 (0)
Please sign in to comment.