From fe3df0e5238ef8942bf5146814dadb1bfa13d54d Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sun, 16 Mar 2014 22:26:10 +0000 Subject: [PATCH] DOC: Add DEVELOP documentation on use of pyflakes --- DEVELOP | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/DEVELOP b/DEVELOP index e81bca7e..592dfcb4 100644 --- a/DEVELOP +++ b/DEVELOP @@ -104,6 +104,15 @@ older versions on python. For all other uses of "pragma: no cover" or "pragma: no branch" document the reason why its not covered. "I haven't written a test case" isn't a sufficient reason. +pyflakes +-------- + +pyflakes can be used to find unused imports, and unused, undefined and +redefined variables. pyflakes should be run in any python code, including +python based actions:: + + pyflakes bin/ config/ fail2ban/ + Documentation -------------