Skip to content
Snippets Groups Projects
Commit a1c52c5d authored by Daniel Hahler's avatar Daniel Hahler
Browse files

doc: improve section about usage of "noqa"

parent c1c5b0e0
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