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
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__)
|
LOG = logging.getLogger(__name__)
|
||||||
DEFAULT_CANDIDATES = ("setup.cfg", "tox.ini", ".flake8")
|
DEFAULT_CANDIDATES = ("setup.cfg", "tox.ini", ".flake8")
|
||||||
ADDITIONAL_CANDIDATES = ("flake8",)
|
ADDITIONAL_CANDIDATES = ("flake8",)
|
||||||
ADDITIONAL_LOCATIONS = (os.path.expanduser(r'~'),
|
ADDITIONAL_LOCATIONS = (
|
||||||
os.path.expanduser(r'~/.config'))
|
os.path.expanduser(r"~"),
|
||||||
|
os.path.expanduser(r"~/.config"),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def _is_config(path: str) -> bool:
|
def _is_config(path: str) -> bool:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue