File replace-pytest-pep8-with-pytest-codestyle.patch of Package python-Flask-Security
Index: Flask-Security-3.0.0/pytest.ini
===================================================================
--- Flask-Security-3.0.0.orig/pytest.ini
+++ Flask-Security-3.0.0/pytest.ini
@@ -1,2 +1,3 @@
[pytest]
-addopts = -xrs --cov flask_security --cov-report term-missing --pep8 --flakes --translations --cache-clear
+addopts = -xrs --cov flask_security --cov-report term-missing --codestyle --flakes --translations --cache-clear
+codestyle_ignore = E722 W504 E126 E501
Index: Flask-Security-3.0.0/setup.py
===================================================================
--- Flask-Security-3.0.0.orig/setup.py
+++ Flask-Security-3.0.0/setup.py
@@ -22,7 +22,7 @@ tests_require = [
'pytest-cache>=1.0',
'pytest-cov>=2.4.0',
'pytest-flakes>=1.0.1',
- 'pytest-pep8>=1.0.6',
+ 'pytest-codestyle>=1.0.6',
'pytest-translations>=1.0.4',
'pytest-runner>=2.6.2',
'pytest>=3.0.5',