mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 13:36:54 +00:00
Add support for reading config from pyproject.toml
This commit is contained in:
parent
1d30b79ce1
commit
c609b69914
7 changed files with 72 additions and 5 deletions
12
tests/fixtures/config_files/broken-pyproject.toml
vendored
Normal file
12
tests/fixtures/config_files/broken-pyproject.toml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[tool.flake8]
|
||||
ignore = [
|
||||
"E123",
|
||||
"W234",
|
||||
E111,
|
||||
]
|
||||
exclude = [
|
||||
"foo/",
|
||||
"bar/",
|
||||
"bogus/",
|
||||
]
|
||||
quiet = 1
|
||||
12
tests/fixtures/config_files/cli-specified-pyproject.toml
vendored
Normal file
12
tests/fixtures/config_files/cli-specified-pyproject.toml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[tool.flake8]
|
||||
ignore = [
|
||||
"E123",
|
||||
"W234",
|
||||
"E111",
|
||||
]
|
||||
exclude = [
|
||||
"foo/",
|
||||
"bar/",
|
||||
"bogus/",
|
||||
]
|
||||
quiet = 1
|
||||
12
tests/fixtures/config_files/no-flake8-section-pyproject.toml
vendored
Normal file
12
tests/fixtures/config_files/no-flake8-section-pyproject.toml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[tool.flake9]
|
||||
ignore = [
|
||||
"E123",
|
||||
"W234",
|
||||
"E111",
|
||||
]
|
||||
exclude = [
|
||||
"foo/",
|
||||
"bar/",
|
||||
"bogus/",
|
||||
]
|
||||
quiet = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue