summaryrefslogtreecommitdiff
path: root/tests/fixtures/example-code
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-06-07 18:03:58 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-06-07 18:03:58 -0500
commit2cd3ac91d1f3006a0062351869935c1a1b72d14f (patch)
treefd8f95cf13a2e89250ace5a8eb8c50dfa6d02ea8 /tests/fixtures/example-code
parent3d512ae2f585b8c97f88299b0b4e44df89514751 (diff)
downloadflake8-2cd3ac91d1f3006a0062351869935c1a1b72d14f.tar.gz
Start adding test fixture files
This adds E501 which is actually a poor test. Currently, pep8.maximum_line_length does its own check for noqa instead of relying on the Checker. See also: https://github.com/PyCQA/pycodestyle/pull/539
Diffstat (limited to 'tests/fixtures/example-code')
-rw-r--r--tests/fixtures/example-code/inline-ignores/E501.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fixtures/example-code/inline-ignores/E501.py b/tests/fixtures/example-code/inline-ignores/E501.py
new file mode 100644
index 0000000..62e5c0c
--- /dev/null
+++ b/tests/fixtures/example-code/inline-ignores/E501.py
@@ -0,0 +1,3 @@
+from some.module.that.has.nested.sub.modules import ClassWithVeryVeryVeryVeryLongName # noqa: E501,F401
+
+# ClassWithVeryVeryVeryVeryLongName()