-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
122 lines (104 loc) Β· 2.25 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
[tool.poetry]
name = "myrpl-cli"
version = "0.1.1"
description = "A script to fetch and save course activities from myrpl.ar"
authors = ["tcorzo"]
readme = "README.md"
[tool.poetry.scripts]
myrpl = "myrpl_cli.main:main"
[tool.semantic_release]
version_variable = [
"myrpl_cli/__init__.py:__version__",
"pyproject.toml:version",
]
branch = "main"
upload_to_pypi = true
upload_to_release = true
build_command = "pip install poetry && poetry build --no-interaction"
[tool.semantic_release.commit_parser_options]
major_tags = [":boom:"]
minor_tags = [
":sparkles:",
":children_crossing:",
":lipstick:",
":iphone:",
":egg:",
":chart_with_upwards_trend:",
]
patch_tags = [
":ambulance:",
":lock:",
":bug:",
":zap:",
":goal_net:",
":alien:",
":wheelchair:",
":speech_balloon:",
":mag:",
":apple:",
":penguin:",
":checkered_flag:",
":robot:",
":green_apple:",
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
requests = "^2.25.1"
python-dotenv = "^1.0.1"
pytest = "^8.3.3"
tqdm = "^4.66.5"
requests-toolbelt = "^1.0.0"
keyring = "^25.4.1"
keyrings-cryptfile = "^1.3.9"
toml = "^0.10.2"
pydantic = "^2.9.2"
# myrpl test dependencies
timeout-decorator = "^0.5.0"
[tool.poetry.group.dev.dependencies]
ruff = ">=0.7.4,<0.9.0"
pre-commit = "^4.0.1"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.ruff]
line-length = 120
exclude = [
".git",
"__pycache__",
".venv",
"venv",
".eggs",
"*.egg",
"build",
"dist",
]
[tool.ruff.lint]
ignore = ["E501"]
[tool.ruff.format]
indent-style = "tab"
line-ending = "lf"
[tool.typos.files]
extend-exclude = ["tests/*"]
[tool.typos.default]
extend-ignore-re = [
# Line ignore with trailing "# spellchecker =disable-line"
"(?Rm)^.*#\\s*spellchecker =disable-line$",
# Line block with "# spellchecker =<on|off>"
"(?s)(#|//)\\s*spellchecker =off.*?\\n\\s*(#|//)\\s*spellchecker =on",
]
# [tool.markdownlint]
# # default to true for all rules
# default = true
# [tool.markdownlint.MD007]
# # MD007/unordered-list-indent
# indent = 4
# # MD033/no-inline-html
# MD033 = false
# # MD041/first-line-h1
# MD041 = false
# # MD013/line-length
# MD013 = false
# # MD024/no-duplicate-heading
# [tool.markdownlint.MD024]
# # Allow when nested under different parents e.g. CHANGELOG.md
# siblings_only = true