1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
[hooks]
dynamic_quotes = 10
collections-import-rewrite = 20
reformat-generics = 40
noqa-reformat = 60
ellipsis-reformat = 70
squish_stubs = 80
[hooks.yapf]
priority = 30
[hooks.yapf.kwargs]
yapf_style = ".style.yapf"
[hooks.isort]
priority = 50
[hooks.isort.kwargs]
indent = " "
multi_line_output = 8
import_heading_stdlib = "stdlib"
import_heading_thirdparty = "3rd party"
import_heading_firstparty = "this package"
import_heading_localfolder = "this package"
balanced_wrapping = false
lines_between_types = 0
use_parentheses = true
remove_redundant_aliases = true
default_section = "THIRDPARTY"
known_third_party = [
"click",
"coincidence",
"consolekit",
"coverage",
"coverage_pyver_pragma",
"faker",
"flake8",
"funcy",
"github",
"importlib_metadata",
"importlib_resources",
"natsort",
"pandas",
"pydash",
"pytest",
"pytest_cov",
"pytest_randomly",
"pytest_regressions",
"pytest_rerunfailures",
"pytest_timeout",
"pytz",
"requests",
"typing_extensions",
]
known_first_party = [ "domdf_python_tools",]
[config]
indent = " "
line_length = 115
|