-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
181 lines (154 loc) · 4.45 KB
/
pyproject.toml
File metadata and controls
181 lines (154 loc) · 4.45 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.2"]
[project]
authors = [{name = "Marcus Kertesz"}]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
]
dependencies = [
"relic-tool-core >= 2.4.0",
"fs >= 2.4.16"
]
description = "Core files shared by versioned SGA files."
dynamic = ["version"]
name = "relic-tool-sga-core"
requires-python = ">=3.10"
[project.entry-points]
"relic.cli" = {sga = "relic.sga.core.cli:RelicSgaCli"}
[project.entry-points."fs.opener"]
sga = "relic.sga.core.essencefs.opener:_EssenceFsOpenerAdapter"
[project.entry-points."relic.cli.sga"]
info = "relic.sga.core.cli:RelicSgaInfoCli"
list = "relic.sga.core.cli:RelicSgaListCli"
tree = "relic.sga.core.cli:RelicSgaTreeCli"
unpack = "relic.sga.core.cli:RelicSgaUnpackCli"
version = "relic.sga.core.cli:RelicSgaVersionCli"
[project.readme]
content-type = "text/markdown"
file = "README.md"
[project.urls]
"Bug Tracker" = "https://github.com/MAK-Relic-Tool/Issue-Tracker/issues"
Homepage = "https://github.com/MAK-Relic-Tool/Relic-Tool-SGA-Core"
[tool.coverage.html]
directory = ".pycoverage_reports/html"
[tool.coverage.paths]
source = [
"src/"
]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod"
]
fail_under = 100
ignore_errors = true
omit = [
"tests/*"
]
show_missing = true
skip_covered = true
skip_empty = true
[tool.coverage.run]
branch = true
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
extra_checks = true
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
no_implicit_optional = true
no_implicit_reexport = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["serialization_tools.*"]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["pkg_resources.*"]
[[tool.mypy.overrides]]
ignore_errors = true
ignore_missing_imports = true
module = ["tests.*"]
[[tool.mypy.overrides]]
ignore_errors = true
ignore_missing_imports = true
module = ["docs.*"]
[tool.semantic_release]
assets = []
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
tag_format = "v{version}"
[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease = false
prerelease_token = "rc"
[tool.semantic_release.changelog]
changelog_file = "CHANGELOG.md"
exclude_commit_patterns = []
template_dir = "templates"
[tool.semantic_release.changelog.environment]
autoescape = true
block_end_string = "%}"
block_start_string = "{%"
comment_end_string = "#}"
comment_start_string = "{#"
extensions = []
keep_trailing_newline = false
lstrip_blocks = false
newline_sequence = "\n"
trim_blocks = false
variable_end_string = "}}"
variable_start_string = "{{"
[tool.semantic_release.commit_author]
default = "semantic-release <semantic-release>"
env = "GIT_COMMIT_AUTHOR"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
default_bump_level = 0
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[tool.semantic_release.remote]
ignore_token_for_push = false
name = "origin"
type = "github"
[tool.semantic_release.remote.token]
env = "GH_TOKEN"
[tool.setuptools]
include-package-data = true
package-dir = {"" = "src"}
[tool.setuptools.dynamic]
version = {attr = "relic.sga.core.__version__"}
[tool.setuptools.packages.find]
namespaces = true
where = ["src"]