-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.24 KB
/
pyproject.toml
File metadata and controls
56 lines (47 loc) · 1.24 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
[project]
name = "data-access-tool-backend"
version = "1.1.0"
authors = [
{ name = "NSIDC", email = "nsidc@nsidc.org" },
]
description = "Backend services for the data-access-tool"
readme = "README.md"
license.file = "LICENSE"
[tool.vulture]
paths = ["src"]
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
strict = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
disable_error_code = ["no-untyped-call"]
warn_unreachable = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
[[tool.mypy.overrides]]
module = "dat_backend.*"
disallow_untyped_defs = false
disallow_incomplete_defs = true
[[tool.mypy.overrides]]
module = [
"requests.*",
"flask_restx.*",
"flask_cors.*",
]
ignore_missing_imports = true
[too.bumpversion]
current_version = "1.1.0"
commit = false
tag = false
[[tool.bumpversion.files]]
filename = "docker-compose.production.yml"
search = ':v{current_version}'
replace = ':v{new_version}'
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "src/dat_backend/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'