mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 15:44:17 +00:00
fix CI build
This commit is contained in:
parent
076dfeee37
commit
7506847c9a
4 changed files with 9 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# To activate, change the Appveyor settings to use `.appveyor.yml`.
|
# To activate, change the Appveyor settings to use `.appveyor.yml`.
|
||||||
install:
|
install:
|
||||||
- python -m pip install tox
|
- python -m pip install --upgrade tox virtualenv
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,6 @@ filterwarnings =
|
||||||
error
|
error
|
||||||
# python3.4 raises this when importing setuptools
|
# python3.4 raises this when importing setuptools
|
||||||
ignore:The value of convert_charrefs will become True in 3.5.*:DeprecationWarning
|
ignore:The value of convert_charrefs will become True in 3.5.*:DeprecationWarning
|
||||||
|
# python3 raises this when importing setuptools
|
||||||
|
ignore:the imp module is deprecated in favour of importlib.*:PendingDeprecationWarning
|
||||||
|
ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning
|
||||||
|
|
|
||||||
|
|
@ -435,8 +435,9 @@ class FileChecker(object):
|
||||||
return plugin["plugin"](**arguments)
|
return plugin["plugin"](**arguments)
|
||||||
except Exception as all_exc:
|
except Exception as all_exc:
|
||||||
LOG.critical(
|
LOG.critical(
|
||||||
"Plugin %s raised an unexpected exception", plugin["name"],
|
"Plugin %s raised an unexpected exception",
|
||||||
exc_info=True
|
plugin["name"],
|
||||||
|
exc_info=True,
|
||||||
)
|
)
|
||||||
raise exceptions.PluginExecutionFailed(
|
raise exceptions.PluginExecutionFailed(
|
||||||
plugin=plugin, exception=all_exc
|
plugin=plugin, exception=all_exc
|
||||||
|
|
|
||||||
2
tox.ini
2
tox.ini
|
|
@ -47,6 +47,8 @@ deps =
|
||||||
flake8
|
flake8
|
||||||
flake8-colors
|
flake8-colors
|
||||||
flake8-docstrings>=0.2.7
|
flake8-docstrings>=0.2.7
|
||||||
|
# remove when https://gitlab.com/pycqa/flake8-docstrings/issues/36 is fixed
|
||||||
|
pydocstyle<4
|
||||||
flake8-import-order>=0.9
|
flake8-import-order>=0.9
|
||||||
flake8-typing-imports>=1.1
|
flake8-typing-imports>=1.1
|
||||||
pep8-naming
|
pep8-naming
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue