Disable E231 so that black and flake8 don't conflict

This commit is contained in:
Swen Kooij
2020-02-29 14:02:14 +02:00
parent ce8ec7722f
commit 25ea06c141
5 changed files with 5 additions and 6 deletions
-1
View File
@@ -1,4 +1,3 @@
from typing import Generator
import setuptools
+1 -1
View File
@@ -1,5 +1,5 @@
[flake8]
ignore = E252,E501,W503
ignore = E252,E501,W503,E231
exclude = env,.tox,.git
[isort]
+1 -1
View File
@@ -57,7 +57,7 @@ setup(
python_requires=">=3.7",
install_requires=["setuptools==45.2.0"],
extras_require={
"test": ["pytest==5.2.2", "pytest-cov==2.8.1", ],
"test": ["pytest==5.2.2", "pytest-cov==2.8.1",],
"analysis": [
"black==19.10b0",
"flake8==3.7.7",
+1 -1
View File
@@ -2,5 +2,5 @@ from setuptools import setup
setup(
name="mywhopackage",
install_requires=["django==1.0", "cookie>=1.2", "-r ../test.txt", "-e ..", ],
install_requires=["django==1.0", "cookie>=1.2", "-r ../test.txt", "-e ..",],
)
+2 -2
View File
@@ -2,6 +2,6 @@ from setuptools import setup
setup(
name="mywhopackage",
install_requires=["django==1.0", ],
extras_require={"test": ["pytest==2.0", ], "docs": ["Sphinx==1.0", ], },
install_requires=["django==1.0",],
extras_require={"test": ["pytest==2.0",], "docs": ["Sphinx==1.0",],},
)