forked from python-gitlab/python-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (70 loc) · 1.91 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
[tool.isort]
profile = "black"
multi_line_output = 3
order_by_type = false
[tool.mypy]
files = "."
exclude = "build/.*"
strict = true
# Overrides for currently untyped modules
[[tool.mypy.overrides]]
module = [
"docs.*",
"docs.ext.*",
"tests.unit.*",
]
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"tests.functional.*",
"tests.functional.api.*",
"tests.smoke.*",
]
disable_error_code = ["no-untyped-def"]
[tool.semantic_release]
branch = "main"
version_variable = "gitlab/_version.py:__version__"
commit_subject = "chore: release v{version}"
commit_message = ""
[tool.pylint.messages_control]
max-line-length = 88
jobs = 0 # Use auto-detected number of multiple processes to speed up Pylint.
# TODO(jlvilla): Work on removing these disables over time.
disable = [
"arguments-differ",
"arguments-renamed",
"broad-except",
"cyclic-import",
"duplicate-code",
"import-outside-toplevel",
"invalid-name",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"not-callable",
"protected-access",
"redefined-builtin",
"signature-differs",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-public-methods",
"too-many-statements",
"unsubscriptable-object",
]
[tool.pytest.ini_options]
xfail_strict = true
markers = [
"gitlab_premium: marks tests that require GitLab Premium",
"gitlab_ultimate: marks tests that require GitLab Ultimate",
]
# If 'log_cli=True' the following apply
# NOTE: If set 'log_cli_level' to 'DEBUG' will show a log of all of the HTTP requests
# made in functional tests.
log_cli_level = "INFO"
log_cli_format = "%(asctime)s.%(msecs)03d [%(levelname)8s] (%(filename)s:%(funcName)s:L%(lineno)s) %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"