diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2696d3d9e4..b1f7557ef6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,10 @@ repos: language_version: python3 repo: https://github.com/ambv/black rev: 19.10b0 +- repo: https://github.com/asottile/seed-isort-config + rev: v2.1.1 + hooks: + - id: seed-isort-config - hooks: - id: isort language_version: python3 diff --git a/setup.cfg b/setup.cfg index b993872e21..0e52330008 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,6 +12,6 @@ select=B,C,E,F,W,T4,B9 [isort] include_trailing_comma=true known_first_party=dvc,tests -known_third_party=git +known_third_party=PyInstaller,RangeHTTPServer,boto3,bs4,colorama,configobj,distro,dpath,flaky,flufl,funcy,git,google,grandalf,mock,mockssh,moto,nanotime,packaging,paramiko,pathspec,pytest,requests,ruamel,setuptools,shortuuid,tqdm,voluptuous,yaml,zc line_length=79 multi_line_output=3