-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (92 loc) · 2.16 KB
/
pyproject.toml
File metadata and controls
103 lines (92 loc) · 2.16 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
103
[project]
name = "khal"
dynamic = ["version"]
description = "Standards based terminal calendar"
readme = "README.rst"
authors = [
{name = "khal contributors", email = "khal@lostpackets.de"},
]
license = "MIT"
license-files = ["doc/source/license.rst"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console :: Curses",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Communications",
"Topic :: Utilities",
]
requires-python = ">=3.10,<3.15"
dependencies = [
"click>=3.2",
"click_log>=0.2.0",
"icalendar>=6.0.0,<8.0.0",
"urwid>=2.6.15",
"pyxdg",
"pytz",
"python-dateutil",
"configobj",
"tzlocal>=1.0",
]
[project.optional-dependencies]
proctitle = [
"setproctitle"
]
test = [
"pytest",
"freezegun",
"hypothesis",
"packaging",
"vdirsyncer",
]
docs = [
"sphinx!=1.6.1",
"sphinxfeed-lsaffre",
"sphinx-rtd-theme",
]
# install all optional dependencies
all = ["khal[proctitle,test,docs]"]
[project.urls]
homepage = "http://lostpackets.de/khal/"
repository = "https://github.com/pimutils/khal"
[project.scripts]
khal = "khal.cli:main_khal"
ikhal = "khal.cli:main_ikhal"
[tool.pytest.ini_options]
filterwarnings = [
# hypothesis triggers warnings while walking modules inside urwid.
"ignore:.*urwid\\.(lcd_display|html_fragment|web_display|monitored_list|listbox|treetools) is moved to.*:DeprecationWarning",
]
[build-system]
requires = ["setuptools>=77", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["khal*"]
[tool.setuptools_scm]
version_file = "khal/version.py"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = [
"B0",
"C4",
"E",
"I",
"PT",
"TID",
"UP",
"W",
]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.mypy]
ignore_missing_imports = true