summaryrefslogtreecommitdiff
path: root/DEVELOP
diff options
context:
space:
mode:
authorSteven Hiscocks <steven@hiscocks.me.uk>2014-03-16 22:26:10 +0000
committerSteven Hiscocks <steven@hiscocks.me.uk>2014-03-16 22:26:10 +0000
commitfe3df0e5238ef8942bf5146814dadb1bfa13d54d (patch)
treeacfc5e70ef5af45ca120ba0256a3c8648cddaaa9 /DEVELOP
parentb83550ad0bb4388c262e6be681b43615fe8ba99d (diff)
downloadfail2ban-fe3df0e5238ef8942bf5146814dadb1bfa13d54d.tar.gz
DOC: Add DEVELOP documentation on use of pyflakes
Diffstat (limited to 'DEVELOP')
-rw-r--r--DEVELOP9
1 files changed, 9 insertions, 0 deletions
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
-------------