summaryrefslogtreecommitdiff
path: root/misc/requirements/requirements-flake8.txt-raw
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-07-13 07:21:13 +0200
committerFlorian Bruhin <git@the-compiler.org>2016-07-13 07:24:10 +0200
commit432816927431c8566cc127b8ded62cbb39468f8e (patch)
tree8fe785b0f4c1e42edb8ef47be32409453e77d276 /misc/requirements/requirements-flake8.txt-raw
parent46bdfa2932bc183311b4f0ec6ae413a9c0201fef (diff)
downloadqutebrowser-432816927431c8566cc127b8ded62cbb39468f8e.tar.gz
qutebrowser-432816927431c8566cc127b8ded62cbb39468f8e.zip
flake8 requirements: Get rid of ebb-lint
We've had many checks disabled - these are the ones we actually lose: L104 Docstrings must use Napoleon, not reStructuredText fields. L205 __init__.py is not allowed to contain function or class definitions. L206 Implicit relative imports are not allowed. L208 Pokémon exception handling is always a mistake. If the intent is really to catch and ignore exceptions, explicitly name which exception types to silence. L209 return, del, raise, assert, print (in python 2, without print_function) yield, and yield from are statements, not functions, and as such, do not require parentheses. L210 Instead of intentionally relying on the side effects of map, filter, or a comprehension, write an explicit for loop. L211 Using map or filter with a lambda as the first argument is always better written as list comprehension or generator expression. An expression is more readable and extensible, and less importantly, doesn't incur as much function call overhead. L212 Using @staticmethod is always wrong. L301 Files must end with a trailing newline. L303 noqa is ignored, and as such, # noqa comments should be deleted to reduce pointless noise. However, most of those are also checked by pylint (and the rest I don't really care about), and ebb-lint increases flake8's runtime a lot (45s -> almost 2min).
Diffstat (limited to 'misc/requirements/requirements-flake8.txt-raw')
-rw-r--r--misc/requirements/requirements-flake8.txt-raw1
1 files changed, 0 insertions, 1 deletions
diff --git a/misc/requirements/requirements-flake8.txt-raw b/misc/requirements/requirements-flake8.txt-raw
index bc181bae3..f1181cbc6 100644
--- a/misc/requirements/requirements-flake8.txt-raw
+++ b/misc/requirements/requirements-flake8.txt-raw
@@ -1,4 +1,3 @@
-ebb-lint
flake8
flake8-copyright
flake8-debugger