summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 032bf4b98e613b328dded4720564558f1ebfe4ec (plain)
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
[tool.isort]
profile = "black"
multi_line_output = 3
order_by_type = false

[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_defs = true
files = "."

[[tool.mypy.overrides]] # Overrides for currently untyped modules
module = [
    "docs.*",
    "docs.ext.*",
    "gitlab.v4.objects.*",
    "setup",
    "tests.functional.*",
    "tests.functional.api.*",
    "tests.unit.*",
    "tests.smoke.*"
]
ignore_errors = true

[[tool.mypy.overrides]] # Overrides to negate above patterns
module = [
    "gitlab.v4.objects.access_requests",
    "gitlab.v4.objects.applications",
    "gitlab.v4.objects.broadcast_messages",
    "gitlab.v4.objects.deployments",
    "gitlab.v4.objects.groups",
    "gitlab.v4.objects.keys",
    "gitlab.v4.objects.merge_requests",
    "gitlab.v4.objects.merge_trains",
    "gitlab.v4.objects.namespaces",
    "gitlab.v4.objects.pages",
    "gitlab.v4.objects.personal_access_tokens",
    "gitlab.v4.objects.project_access_tokens",
    "gitlab.v4.objects.projects",
    "gitlab.v4.objects.tags",
    "gitlab.v4.objects.templates",
    "gitlab.v4.objects.triggers",
    "gitlab.v4.objects.users",
]
ignore_errors = false

[tool.semantic_release]
branch = "main"
version_variable = "gitlab/__version__.py:__version__"
commit_subject = "chore: release v{version}"
commit_message = ""