mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 06:44:18 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
aa51e6662b
commit
8ace3157bd
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ configuration. Both exist so we can choose which is better for us.
|
||||||
Ignoring Violations in Specific Files
|
Ignoring Violations in Specific Files
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
If we want to ignore one or more violation codes for certain files, you can
|
If we want to ignore one or more violation codes for certain files, you can
|
||||||
use the :option:`flake8 --per-file-ignores` on either the command-line
|
use the :option:`flake8 --per-file-ignores` on either the command-line
|
||||||
or in your configuration file.
|
or in your configuration file.
|
||||||
|
|
||||||
|
|
@ -153,7 +153,7 @@ or in your configuration file.
|
||||||
While most options in Flake8 use commas to separate values, this option allows
|
While most options in Flake8 use commas to separate values, this option allows
|
||||||
multiple violation codes to be specified per file with commas so to specify
|
multiple violation codes to be specified per file with commas so to specify
|
||||||
multiple file mappings use spaces to delimit them.
|
multiple file mappings use spaces to delimit them.
|
||||||
|
|
||||||
We can also specify it in config file:
|
We can also specify it in config file:
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue