]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
start flake8 support
authorBob Halley <halley@dnspython.org>
Mon, 4 May 2020 19:21:27 +0000 (12:21 -0700)
committerBob Halley <halley@dnspython.org>
Mon, 4 May 2020 19:21:27 +0000 (12:21 -0700)
.flake8 [new file with mode: 0644]
Makefile
pyproject.toml

diff --git a/.flake8 b/.flake8
new file mode 100644 (file)
index 0000000..711a1b5
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,2 @@
+[flake8]
+ignore = E741
index b013f69336d30a50e05b133a4793ab83adbdcd07..8177b1500fdcd65f7094853031007d2be5e6d4a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,3 +76,6 @@ potest:
 
 potype:
        poetry run python -m mypy examples tests dns/*.py
+
+poflake:
+       poetry run flake8 dns
index 1e37b898de09fe45897aba811313505d2cb180f4..cd0d7bc86c994d78b21945c27f0f6652bf646f71 100644 (file)
@@ -14,8 +14,8 @@ cryptography = "^2.6"
 
 [tool.poetry.dev-dependencies]
 mypy = "^0.770"
-pylint = "^2.5.0"
 pytest = "^5.4.1"
+flake8 = "^3.7.9"
 
 [build-system]
 requires = ["poetry>=0.12"]