-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (49 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (49 loc) · 1.47 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
[project]
name = "CnGalCalendar"
version = "4.7.0"
description = "CnGal 游戏发售日历"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [{ name = "Vinfall" }]
keywords = ["calendar", "cngal", "cngal-api", "galgame", "game", "icalendar", "ics", "visualnovel"]
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Private :: Do Not Upload",
"Programming Language :: Python :: 3",
"Topic :: File Formats",
"Topic :: Games/Entertainment",
]
dependencies = ["dateparser>=1.4.2", "ical>=14.1.1", "requests>=2.34.2"]
[project.urls]
changelog = "https://github.com/Vinfall/CnGalCalendar/blob/main/CHANGELOG.md"
homepage = "https://github.com/Vinfall/CnGalCalendar"
issues = "https://github.com/Vinfall/CnGalCalendar/issues"
source = "https://github.com/Vinfall/CnGalCalendar"
[tool.ruff]
# force-exclude = true
unsafe-fixes = true
# https://docs.astral.sh/ruff/rules/
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"E501", # EditorConfig
"COM", # commas
"CPY", # copyright
"D1", # docstring
"D212",
"D203", # prefer D211
"ERA", # commented-out-code
"FIX", # fixme
"TD002", # todo
"TD003",
"PLR2004", # magic-value-comparison
"PTH", # flake8-use-pathlib: slower than os
"RET505", # superfluous-else-return
"T20", # print
]
# unfixable = ["F401"]
[tool.ty.rules]
unresolved-import = "ignore" # .venv excluded from vsc/zed