-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
128 lines (122 loc) · 7.36 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
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
[tool.poetry]
name = "picometer"
version = "0.2.0"
description = "Precisely define and calculate measurements across multiple crystal structures"
authors = ["Daniel Tchoń"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10"
numpy = ">=2"
pandas = ">=2"
pyyaml = ">=5"
hikari-toolkit = ">=0.2.3"
uncertainties = ">=3"
[tool.poetry.group.dev.dependencies]
cookiecutter = ">=2"
poetry = {version = ">=1.8.0", python = "^3.10"}
flake8 = ">=7"
pytest = ">=8"
pytest-cov = ">=5"
sphinx = ">=8"
myst-nb = {version = ">=1.1.2", python = ">=3.10"}
sphinx-autoapi = ">=3"
sphinx-rtd-theme = ">=3"
jupyter = ">=1.1"
python-semantic-release = {version = "^9.11.1", python = "^3.10"}
[tool.semantic_release]
version_toml = ["pyproject.toml:tool.poetry.version", ] # version location
branch = "master" # branch to make releases of
changelog_file = "CHANGELOG.md" # changelog file
build_command = "pip install poetry && poetry build" # build dists
commit_parser = "emoji" # default EmojiCommitParser
major_on_zero = false # change to "true" only if you are sure you want version 1
commit_message = ":bookmark: v{version}\n\nAutomatically generated by python-semantic-release"
[tool.semantic_release.branches]
master = { publish = true } # Stable release branch (master)
development = { publish = false } # Used for version checking only
[tool.semantic_release.commit_parser_options]
major_tags = [ # CAUSE MAJOR VERSION BUMP 0.1.0 -> 1.0.0
":boom:", # 💥 Introduce breaking changes.
]
minor_tags = [ # CAUSE MINOR VERSION BUMP 0.1.0 -> 0.2.0
":sparkles:", # ✨ Introduce new features.
]
patch_tags = [ # CAUSE PATCH VERSION BUMP 0.1.0 -> 0.1.1
":adhesive_bandage:", # 🩹 Simple fix for a non-critical issue.
":ambulance:", # 🚑️ Critical hotfix.
":alien:", # 👽️ Update code due to external API changes.
":alembic:", # ⚗️ Perform experiments.
":arrow_down:", # ⬇️ Downgrade dependencies.
":arrow_up:", # ⬆️ Upgrade dependencies.
":bento:", # 🍱 Add or update assets.
":bug:", # 🐛 Fix a bug.
":card_file_box:", # 🗃️ Perform database related changes.
":chart_with_upwards_trend:", # 📈 Add or update analytics or track code.
":children_crossing:", # 🚸 Improve user experience / usability.
":dizzy:", # 💫 Add or update animations and transitions.
":egg:", # 🥚 Add or update an easter egg.
":globe_with_meridians:", # 🌐 Internationalization and localization.
":goal_net:", # 🥅 Catch errors.
":heavy_plus_sign:", # ➕ Add a dependency.
":heavy_minus_sign:", # ➖ Remove a dependency.
":iphone:", # 📱 Work on responsive design.
":lipstick:", # 💄 Add or update the UI and style files.
":label:", # 🏷️ Add or update types.
":lock:", # 🔒️ Fix security or privacy issues.
":mag:", # 🔍️ Improve SEO.
":necktie:", # 👔 Add or update business logic.
":package:", # 📦️ Add or update compiled files or packages.
":passport_control:", # 🛂 Work on code related to authorization, roles and permissions.
":pencil2:", # ✏️ Fix typos.
":push_pin:", # 📌️ Pin dependencies to specific versions.
":rewind:", # ⏪️ Revert changes.
":speech_balloon:", # 💬 Add or update text and literals.
":triangular_flag_on_post:", # 🚩 Add, update, or remove feature flags.
":wastebasket:", # 🗑️ Deprecate code that needs to be cleaned up.
":wheelchair:", # ♿️ Improve accessability.
":wrench:", # 🔧 Add or update configuration files.
":zap:", # ⚡️ Improve performance.
]
other_tags = [ # UNSUPPORTED - DO NOT CAUSE VERSION BUMP
":art:", # 🎨 Improve structure / format of the code.
":beers:", # 🍻 Write code drunkenly.
":bookmark:", # 🔖 Release / Version tags.
":bricks:", # 🧱 Infrastructure related changes.
":bulb:", # 💡 Add or update comments in source code.
":building_construction:", # 🏗️ Make architectural changes.
":busts_in_silhouette:", # 👥 Add or update contributor(s).
":camera_flash:", # 📸 Add or update snapshots.
":closed_lock_with_key:", # 🔐 Add or update secrets.
":clown_face:", # 🤡 Mock things.
":coffin:", # ⚰️ Remove dead code.
":construction:", # 🚧 Work in progress.
":construction_worker:", # 👷 Add or update CI build system.
":fire:", # 🔥 Remove code or files.
":green_heart:", # 💚 Fix CI Build.
":hammer:", # 🔨 Add or update development scripts.
":loud_sounds:", # 🔊 Add or update logs.
":memo:", # 📝 Add or update documentation.
":money_with_wings:", # 💸 Add sponsorships or money related infrastructure.
":monocle_face:", # 🧐 Data exploration/inspection.
":mute:", # 🔇 Remove logs.
":page_facing_up:", # 📄 Add or update license.
":poop:", # 💩 Write bad code that needs to be improved.
":recycle:", # ♻️ Refactor code.
":rocket:", # 🚀 Deploy stuff.
":rotating_light:", # 🚨 Fix compiler / linter warnings.
":safety_vest:", # 🦺 Add or update code related to validation.
":see_no_evil:", # 🙈 Add or update a .gitignore file.
":seedling:", # 🌱 Add or update seed files.
":stethoscope:", # 🩺 Add or update healthcheck.
":tada:", # 🎉 Begin a project.
":technologist:", # 🧑💻 Improve developer experience.
":test_tube:", # 🧪 Add a failing test.
":thread:", # 🧵 Add or update code related to multithreading or concurrency.
":truck:", # 🚚 Move or rename resources (e.g.: files, paths, routes).
":twisted_rightwards_arrows:", # 🔀 Merge branches.
":white_check_mark:", # ✅ Add, update, or pass tests.
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"