[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-11-29 06:37:40 +00:00
parent 266204d1d1
commit f18685891e

View file

@ -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: