-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
88 lines (79 loc) · 2.16 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "timeboxed"
version = "0.1"
authors = [{ name = "Paul Traylor" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python",
]
description = "Render Pomodoro Calendars"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
dependencies = [
"django-zakka",
"django>=3.2",
"djangorestframework",
"icalendar",
"importlib-metadata; python_version < \"3.10\"",
"Pillow",
"python-dateutil",
"requests",
]
[project.urls]
Source = "https://github.com/time-boxed/django-timeboxed"
Tracker = "https://github.com/time-boxed/django-timeboxed/issues"
[project.optional-dependencies]
dev = [
"psycopg2",
]
standalone = [
"celery<5",
"django-environ",
"paho-mqtt",
"sentry-sdk",
]
[project.scripts]
pomodoro = "pomodoro.standalone.manage:main[standalone]"
[project.entry-points."pomodoro.notification"]
line = "notifications.driver.line:Line"
prowl = "notifications.driver.prowl:Prowl"
mqtt = "notifications.driver.mqtt:MQTT"
[tool.setuptools.packages.find]
exclude = ["test"]
namespaces = false
[tool.ruff]
line-length = 100
[tool.ruff.format]
exclude = [
"*migrations*",
"urls.py",
]
[tool.ruff.lint]
# https://beta.ruff.rs/docs/rules/
select = [
"C", # complexity
"E", # pycodestyle
"F", # Unused imports
"I", # isort
"PGH004", # Use specific rule codes when using noqa
"PLC0414", # Useless import alias. Import alias does not rename original package.
"S103", # bad-file-permissions
"TRY004", # Prefer TypeError exception for invalid type
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = [
"E501", # Ignore line length
]