-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
96 lines (85 loc) · 2.14 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = ["setuptools>=40.6.0"]
build-backend = "setuptools.build_meta"
[project]
name = "sosviz"
version = "0.2.11"
description = "Information extractor from sos reports"
license = {file = "LICENSE"}
dependencies = [
"graphviz",
]
requires-python = ">= 3.8"
readme = "README.md"
authors = [
{name = "Robin Jarry", email = "[email protected]"},
]
[project.urls]
Repository = "https://github.com/rjarry/sosviz"
[project.scripts]
sosviz = "sosviz.__main__:main"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
lines_after_imports = 2
force_sort_within_sections = true
known_first_party = ["sosviz"]
default_section = "THIRDPARTY"
no_lines_before = "LOCALFOLDER"
[tool.pylint.main]
persistent = false
suggestion-mode = false
[tool.pylint."messages control"]
enable = ["all"]
disable = [
"broad-except",
"cyclic-import",
"duplicate-code",
"file-ignored",
"fixme",
"import-outside-toplevel",
"invalid-overridden-method",
"line-too-long",
"locally-disabled",
"missing-docstring",
"suppressed-message",
"too-many-arguments",
"too-many-boolean-expressions",
"too-many-branches",
"too-many-instance-attributes",
"too-many-locals",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"unnecessary-pass",
"unused-argument",
"use-implicit-booleaness-not-comparison-to-string",
"use-implicit-booleaness-not-comparison-to-zero",
"wrong-import-order",
]
[tool.pylint.reports]
msg-template = "{path}:{line} {msg} [{symbol}]"
output-format = "text"
score = false
[tool.pylint.refactoring]
max-nested-blocks = 5
never-returning-functions = ["sys.exit", "argparse.parse_error"]
[tool.pylint.variables]
init-import = true
[tools.pylint.basic]
module-naming-style="snake_case"
const-naming-style="UPPER_CASE"
class-naming-style="PascalCase"
class-attribute-naming-style="any"
class-const-naming-style="UPPER_CASE"
attr-naming-style="snake_case"
function-naming-style="snake_case"
method-naming-style="snake_case"
argument-naming-style="any"
variable-naming-style="any"
inlinevar-naming-style="any"
[tool.pylint.format]
expected-line-ending-format="LF"