-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (46 loc) · 1.44 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
[project]
name = "coursable"
description = "BJUT course table parser"
authors = [
{name = "KoolShow",email = "51787949+KoolShow@users.noreply.github.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pyyaml (>=6.0.2,<7.0.0)",
"pytz (>=2025.1,<2026.0)"
]
dynamic = ["version"]
[project.optional-dependencies]
url = ["requests (>=2.32.3,<3.0.0)"]
orjson = ["orjson (>=3.10.15,<4.0.0)"]
ujson = ["ujson (>=5.10.0,<6.0.0)"]
ics = ["icalendar (>=6.1.1,<7.0.0)"]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
version = "0.0.0"
[tool.poetry.group.dev.dependencies]
coverage = "^7.6.12"
mypy = "^1.15.0"
pylint = "^3.3.4"
types-requests = "^2.32.0.20241016"
types-pyyaml = "^6.0.12.20241230"
types-pytz = "^2025.1.0.20250204"
types-icalendar = "^6.1.0.20250119"
[tool.poetry.requires-plugins]
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
[tool.poetry-dynamic-versioning]
enable = true
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
{%- endif -%}
"""
strict = false