mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +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
266204d1d1
commit
f18685891e
1 changed files with 4 additions and 2 deletions
|
|
@ -13,8 +13,10 @@ from flake8.options.manager import OptionManager
|
|||
LOG = logging.getLogger(__name__)
|
||||
DEFAULT_CANDIDATES = ("setup.cfg", "tox.ini", ".flake8")
|
||||
ADDITIONAL_CANDIDATES = ("flake8",)
|
||||
ADDITIONAL_LOCATIONS = (os.path.expanduser(r'~'),
|
||||
os.path.expanduser(r'~/.config'))
|
||||
ADDITIONAL_LOCATIONS = (
|
||||
os.path.expanduser(r"~"),
|
||||
os.path.expanduser(r"~/.config"),
|
||||
)
|
||||
|
||||
|
||||
def _is_config(path: str) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue