Skip to content
Snippets Groups Projects
Commit c6b011eb authored by Ian Stapleton Cordasco's avatar Ian Stapleton Cordasco Committed by GitHub
Browse files

Merge pull request #57 from blueyed/doc-improve-noqa

doc: improve section about usage of "noqa"
parents c1c5b0e0 a1c52c5d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -54,8 +54,9 @@ Flake8 has many features that mccabe does not provide. Flake8 allows users to
ignore violations reported by plugins with ``# noqa``. Read more about this in
`their documentation
<http://flake8.pycqa.org/en/latest/user/violations.html#in-line-ignoring-errors>`__.
To silence violations reported by ``mccabe``, place your ``# noqa`` on the
function definition line.
To silence violations reported by ``mccabe``, place your ``# noqa: C901`` on
the function definition line, where the error is reported for (possibly a
decorator).
 
 
Links
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment