Pascal Vizeli
5d5d053bce
Use github instead gitlab
2019-11-28 13:40:29 +01:00
Ville Skyttä
d4c80f160c
Add bandit, use to catch known vulnerable XML parsing ( #28341 )
...
* Add bandit to pre-commit and CI, use to catch known vulnerable XML parsing
* Use defusedxml instead of direct xml.etree to parse XML
* Move config to tests/bandit.yaml
2019-11-18 09:10:15 +01:00
Ville Skyttä
804b6bbc0e
Reduce test requirements duplication, sync flake8 and related ( #28538 )
...
* Generate pre-commit test dependencies instead of duplicating
* Upgrade/sync to flake8 3.7.9, flake8-docstrings 1.5.0, and pydocstyle 4.0.1
https://flake8.readthedocs.io/en/latest/release-notes/3.7.9.html
https://gitlab.com/pycqa/flake8-docstrings/blob/1.4.0/HISTORY.rst
https://gitlab.com/pycqa/flake8-docstrings/blob/1.5.0/HISTORY.rst
http://www.pydocstyle.org/en/4.0.1/release_notes.html
* Include requirements_test.txt from *_all.txt instead of copying
2019-11-04 21:21:52 -08:00
Ville Skyttä
a8dff2f2d0
pre-commit: ship default and full configs ( #28463 )
...
For now, the only difference between the two is mypy.
2019-11-02 12:21:09 -07:00