mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 21:44:18 +00:00
Add example configuration sections to the docs
Add tests to verify our examples do not regress
This commit is contained in:
parent
91e07ebcff
commit
466ef2e596
4 changed files with 189 additions and 1 deletions
16
tests/fixtures/config_files/cli-specified-with-inline-comments.ini
vendored
Normal file
16
tests/fixtures/config_files/cli-specified-with-inline-comments.ini
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[flake8]
|
||||
# This is a flake8 config, there are many like it, but this is mine
|
||||
ignore =
|
||||
# Disable E123
|
||||
E123,
|
||||
# Disable W234
|
||||
W234,
|
||||
# Also disable E111
|
||||
E111
|
||||
exclude =
|
||||
# Exclude foo/
|
||||
foo/,
|
||||
# Exclude bar/ while we're at it
|
||||
bar/,
|
||||
# Exclude bogus/
|
||||
bogus/
|
||||
16
tests/fixtures/config_files/cli-specified-without-inline-comments.ini
vendored
Normal file
16
tests/fixtures/config_files/cli-specified-without-inline-comments.ini
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[flake8]
|
||||
# This is a flake8 config, there are many like it, but this is mine
|
||||
# Disable E123
|
||||
# Disable W234
|
||||
# Also disable E111
|
||||
ignore =
|
||||
E123,
|
||||
W234,
|
||||
E111
|
||||
# Exclude foo/
|
||||
# Exclude bar/ while we're at it
|
||||
# Exclude bogus/
|
||||
exclude =
|
||||
foo/,
|
||||
bar/,
|
||||
bogus/
|
||||
Loading…
Add table
Add a link
Reference in a new issue