From 2cd3ac91d1f3006a0062351869935c1a1b72d14f Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Tue, 7 Jun 2016 18:03:58 -0500 Subject: [PATCH] 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 --- tests/fixtures/example-code/inline-ignores/E501.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/fixtures/example-code/inline-ignores/E501.py 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()