summaryrefslogtreecommitdiff
path: root/python/pyflakes/README
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2011-11-01 08:40:58 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-11-01 08:40:58 -0200
commit5331682a26ab2104f07e1dcc45a6857ac9773b01 (patch)
tree95c2d56b83f33f12b7bcd9ecf3f59320e6df4153 /python/pyflakes/README
parente885adb06d5713b43bb51a872f644f44de2ca624 (diff)
downloadslackbuilds-5331682a26ab2104f07e1dcc45a6857ac9773b01.tar.gz
python/pyflakes: Updated for version 0.5.0 (+new category)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'python/pyflakes/README')
-rw-r--r--python/pyflakes/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/python/pyflakes/README b/python/pyflakes/README
new file mode 100644
index 0000000000..ffc04d348b
--- /dev/null
+++ b/python/pyflakes/README
@@ -0,0 +1,17 @@
+PyFlakes a Lint-like tool for Python, like PyChecker. It is focused on
+identifying common errors quickly without executing Python code.
+
+Its primary advantage over PyChecker is that it is fast. You don't have
+to sit around for minutes waiting for the checker to run; it runs on most
+large projects in only a few seconds.
+
+The two primary categories of defects reported by PyFlakes are:
+* Names which are used but not defined or used before they are defined
+* Names which are redefined without having been used
+
+These can each take many forms. For example, PyFlakes will tell you when
+you have forgotten an import, mistyped a variable name, defined two
+functions with the same name, shadowed a variable from another scope,
+imported a module twice, or two different modules with the same name, and
+so on.
+