diff options
| author | Jesaja Everling <jeverling@gmail.com> | 2018-10-28 20:08:29 +0100 |
|---|---|---|
| committer | Jesaja Everling <jeverling@gmail.com> | 2018-10-28 20:17:01 +0100 |
| commit | cafe7805147a44959038dfb489a95d157a8e43b9 (patch) | |
| tree | 3eebe71fd3549c1b0b2b8040885e7705d54e4744 /docs/source | |
| parent | 4773995430e56f5669861438cc3ce2845953ad51 (diff) | |
| download | flake8-cafe7805147a44959038dfb489a95d157a8e43b9.tar.gz | |
Clearer docs, NOQA_INLINE_REGEXP comment - fixes #469
Diffstat (limited to 'docs/source')
| -rw-r--r-- | docs/source/user/violations.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/source/user/violations.rst b/docs/source/user/violations.rst index 73a2f2a..5076a96 100644 --- a/docs/source/user/violations.rst +++ b/docs/source/user/violations.rst @@ -85,12 +85,13 @@ what is actually happening. In those cases, we can also do: This will only ignore the error from pycodestyle that checks for lambda assignments and generates an ``E731``. If there are other errors on the line -then those will be reported. +then those will be reported. ``# noqa`` is case-insensitive, without the colon +the part after ``# noqa`` would be ignored. .. note:: If we ever want to disable |Flake8| respecting ``# noqa`` comments, we can - can refer to :option:`flake8 --disable-noqa`. + refer to :option:`flake8 --disable-noqa`. If we instead had more than one error that we wished to ignore, we could list all of the errors with commas separating them: |
