From: Bob Halley Date: Mon, 4 May 2020 19:21:27 +0000 (-0700) Subject: start flake8 support X-Git-Tag: v2.0.0rc1~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63aac5fdb04110c74ab85ad9cf52a825fa0b1323;p=thirdparty%2Fdnspython.git start flake8 support --- diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..711a1b55 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +ignore = E741 diff --git a/Makefile b/Makefile index b013f693..8177b150 100644 --- a/Makefile +++ b/Makefile @@ -76,3 +76,6 @@ potest: potype: poetry run python -m mypy examples tests dns/*.py + +poflake: + poetry run flake8 dns diff --git a/pyproject.toml b/pyproject.toml index 1e37b898..cd0d7bc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]