-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (88 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
102 lines (88 loc) · 2.52 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
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
[project]
name = "plann"
version = "0.0.0"
description = "Simple command-line CalDAV client and planning tool, for adding and browsing calendar items, todo list items, etc."
authors = [{ name = "Tobias Brox", email = "t-plann@tobixen.no" }]
maintainers = [{ name = "Tobias Brox", email = "t-plann@tobixen.no" }]
license = { text = "GPL-3.0" }
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Scheduling",
"Topic :: Utilities",
]
keywords = ["caldav", "calendar", "cli", "todo", "planning"]
dependencies = [
"caldav>=1.4.0",
"Click",
"PyYAML",
"sortedcontainers",
"tzlocal",
"python-dateutil",
"icalendar",
]
[project.urls]
Homepage = "https://plann.no"
Repository = "https://github.com/tobixen/plann"
Documentation = "https://plann.no"
[project.scripts]
plann = "plann.cli:cli"
[tool.poetry]
packages = [{include = "plann"}]
[tool.poetry.dependencies]
python = ">=3.9,<4"
[tool.poetry.group.dev.dependencies]
niquests = "*"
pytest = ">=7.0"
pytest-cov = ">=4.0"
ruff = ">=0.1.0"
xandikos = "*"
deptry = {version = ">=0.24.0", python = ">=3.10"}
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
pattern = "^v(?P<base>\\d+\\.\\d+\\.\\d+)"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (many existing long lines)
]
[tool.ruff.lint.isort]
known-first-party = ["plann"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
[tool.coverage.run]
source = ["plann"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]
[tool.deptry.per_rule_ignores]
DEP002 = ["tzlocal"] # Used indirectly by icalendar/caldav