-
Notifications
You must be signed in to change notification settings - Fork 108
/
pyproject.toml
55 lines (53 loc) · 2.02 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools >= 46.1.3",
"wheel >= 0.34.2",
]
build-backend="setuptools.build_meta"
[tool.isort]
profile = "black" # black-compatible (e.g., trailing comma)
known_first_party = ["pbench"] # separate "pbench" section
multi_line_output = 3 # "hanging" indent with dedented paren
force_sort_within_sections = true # don't separate import vs from
order_by_type = false # sort alphabetic regardless of case
extend_skip = ["fio-histo-log-pctiles.py", "web-server/v0.3/demo.py"] # like black
[tool.black]
skip-string-normalization = false
include = '''
\.pyi?$
| ^/agent/bench-scripts/postprocess/user-benchmark-wrapper$
| ^/agent/bench-scripts/test-bin/mock-postprocess/uperf-postprocess$
| ^/agent/bench-scripts/test-bin/java$
| ^/agent/tool-scripts/datalog/haproxy-ocp-datalog$
| ^/agent/tool-scripts/datalog/pprof-datalog$
| ^/agent/tool-scripts/datalog/pprof-master-n-nodes$
| ^/agent/tool-scripts/datalog/prometheus-metrics-datalog$
| ^/agent/tool-scripts/datalog/oc-datalog$
| ^/agent/tool-scripts/dcgm$
| ^/agent/tool-scripts/node-exporter$
| ^/agent/tool-scripts/pcp-transient$
| ^/agent/tool-scripts/pcp$
| ^/agent/tool-scripts/postprocess/prometheus-metrics-postprocess$
| ^/agent/util-scripts/test-bin/hostname$
| ^/agent/util-scripts/test-bin/mock-cmd$
| ^/agent/util-scripts/get-internal-tool$
| ^/agent/util-scripts/pbench-add-metalog-option$
| ^/agent/util-scripts/pbench-display-sysinfo-options$
| ^/agent/util-scripts/pbench-tool-meister-client$
| ^/agent/util-scripts/pbench-tool-meister-stop$
| ^/agent/util-scripts/pbench-verify-sysinfo-options$
| ^/agent/util-scripts/tool-meister/pbench-tool-data-sink$
| ^/agent/util-scripts/tool-meister/pbench-tool-meister$
| ^/agent/util-scripts/validate-hostname$
| ^/agent/util-scripts/validate-ipaddress$
| ^/agent/util-scripts/pbench-tool-meister-start$
| ^/server/bin/pbench-index$
| ^/utils/fetch-curr-commit-id$
'''
extend-exclude = '''
(
fio-histo-log-pctiles\.py$
| ^/dashboard/node_modules/
| ^/web-server/v0\.3/demo\.py$
)
'''