-
Notifications
You must be signed in to change notification settings - Fork 200
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (84 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
93 lines (84 loc) · 2.05 KB
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
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
[tool.ruff]
include = [
"pyproject.toml",
"petl/**/*.py",
"examples/**/*.py",
"docs/**/*.rst",
]
line-length = 88
indent-width = 4
[tool.ruff.lint]
ignore = ["E201", "E202", "E203", "E501", "W291"]
[tool.pylint.main]
# Files or directories to be skipped. They should be base names, not paths.
ignore = ["build", "dist", "bin"]
# Files or directories matching the regular expression patterns are skipped. The
# regex matches against base names, not paths. The default value ignores Emacs
# file locks
ignore-patterns = [
"^\\.#",
".vscode/*.py",
".git",
".tox",
".nox",
".venv",
".eggs",
".egg-info",
".cache",
".mypy_cache",
".pytest_cache",
"__pycache__",
"_build",
".*.pyc",
".vscode",
".vscode-server",
]
[tool.pylint."messages control"]
disable = [
"import-error",
"invalid-name",
"import-outside-toplevel",
"consider-using-from-import",
"ungrouped-imports",
"unused-import",
"unused-argument",
"unused-variable",
"missing-module-docstring",
"missing-function-docstring",
"trailing-whitespace",
"line-too-long",
"bare-except",
"no-else-return",
"no-else-raise",
"consider-using-f-string",
"missing-class-docstring",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-branches",
"too-few-public-methods",
"too-many-locals",
"too-many-instance-attributes",
"too-many-lines",
"too-many-statements",
"too-many-nested-blocks",
"use-yield-from",
"use-list-literal",
"use-dict-literal",
"consider-using-with",
"consider-using-dict-items",
"consider-using-generator",
"broad-exception-caught",
"broad-exception-raised",
"unnecessary-comprehension",
"unnecessary-lambda",
"unnecessary-lambda-assignment",
"redundant-u-string-prefix",
"logging-not-lazy",
"useless-object-inheritance",
"stop-iteration-return",
]
[tool.bandit]
targets = ["petl", "examples"]
skips = ["B101"]