forked from muskanmahajan37/radiant-mlhub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (63 loc) · 1.5 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (63 loc) · 1.5 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
testpaths = ["test"]
addopts = "--block-network --record-mode once"
markers = [
"collection_id",
"dataset_id",
]
[tool.mypy]
strict = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"dateutil.*",
"geojson.*",
"requests_mock.*",
"setuptools",
"shapely.*",
"sphinx_rtd_theme.*",
"tqdm.*",
"urllib3.*",
]
ignore_missing_imports = true
# Uncomment this if your project is hosted on GitHub:
# github_url = "https://github.com/<user or organization>/<project>/"
[tool.tbump.version]
current = "0.5.1"
# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
-?
(?P<release_level>a|b)?
(?P<prerelease>\d+)?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[tool.tbump.file]]
src = "setup.py"
search = 'version="{current_version}"'
[[tool.tbump.file]]
src = "radiant_mlhub/__version__.py"
[[tool.tbump.file]]
src = "test/test_session.py"
[[tool.tbump.file]]
src = "test/test_cli.py"
[[tool.tbump.file]]
src = "binder/requirements.txt"
search = "radiant-mlhub=={current_version}"
[[tool.tbump.file]]
src = "recipe/meta.yaml"
search = "set version = \"{current_version}\""