-
Notifications
You must be signed in to change notification settings - Fork 80
/
pyproject.toml
120 lines (108 loc) · 2.53 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
[project]
name = "todoman"
authors = [
{name = "Hugo Osvaldo Barrera", email = "[email protected]"},
]
description = "A simple icalendar-based todo manager."
readme = "README.rst"
requires-python = ">=3.7"
keywords = ["todo", "task", "icalendar", "cli"]
license = {text = "ISC"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Console :: Curses",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Office/Business :: Scheduling",
"Topic :: Utilities",
]
dependencies = [
"atomicwrites",
"click>=7.1,<9.0",
"click-log>=0.2.1",
"humanize",
"icalendar>=4.0.3",
"parsedatetime",
"python-dateutil",
"pyxdg",
"urwid",
]
dynamic = ["version"]
[project.optional-dependencies]
lint = [
"ruff",
"mypy",
"types-pytz",
"types-python-dateutil",
]
test = [
"freezegun",
"hypothesis",
"pytest",
"pytest-cov",
"pytz",
]
docs = [
"sphinx-click",
"sphinx_rtd_theme",
]
repl = [
"click-repl>=0.1.6",
]
[project.urls]
homepage = "https://github.com/pimutils/todoman"
documentation = "https://todoman.readthedocs.io/"
changelog = "https://github.com/pimutils/todoman/blob/main/CHANGELOG.rst"
issues = "https://github.com/pimutils/todoman/issues"
[project.scripts]
todo = "todoman.cli:cli"
[tool.setuptools]
packages = ["todoman"]
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"B",
"I",
"UP",
"N",
"ANN",
# "A",
"C4",
"PT",
"SIM",
"TID",
]
ignore = [
"ANN101", # Annotation for 'self'
"ANN002", # Annotations for *args
"ANN003", # Annotations for **kwargs
]
[tool.ruff.lint.isort]
force-single-line = true
required-imports = ["from __future__ import annotations"]
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
[tool.setuptools_scm]
write_to = "todoman/version.py"
version_scheme = "no-guess-dev"
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=todoman --cov-report=term-missing --color=yes --verbose"
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]