-
Notifications
You must be signed in to change notification settings - Fork 64
/
pyproject.toml
87 lines (73 loc) · 2.08 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
[project]
name = "khard"
dynamic = ["version"]
authors = [
{ name = "Eric Scheibler", email = '[email protected]' },
]
description = "A console address book manager"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Topic :: Utilities",
"Topic :: Communications :: Email :: Address Book",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
]
keywords = ["vcard", "console", "addressbook"]
license = {text = "GPL"}
dependencies = [
"atomicwrites == 1.4.1",
"configobj == 5.*, >= 5.0.6",
"ruamel.yaml >= 0.17.0",
"unidecode ~= 1.3.0",
"vobject ~= 0.9.7",
]
[project.optional-dependencies]
doc = ['sphinx', 'sphinx-autoapi', 'sphinx-autodoc-typehints']
[project.urls]
homepage = "https://github.com/lucc/khard"
documentation = "https://khard.readthedocs.io/en/latest/"
repository = "https://github.com/lucc/khard.git"
changelog = "https://github.com/lucc/khard/blob/main/CHANGES"
[project.scripts]
khard = "khard.khard:main"
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ['khard', 'khard.helpers']
[tool.setuptools_scm]
write_to = "khard/version.py"
[tool.mypy]
packages = ["khard", "test"]
check_untyped_defs = true
disallow_untyped_calls = true
#disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
# These do not provide type anotations or stub files
module = [
"atomicwrites",
"configobj",
"configobj.validate",
"validate",
"vobject",
"vobject.base",
"vobject.vcard",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "test.*"
check_untyped_defs = false
disallow_untyped_calls = false
[tool.pylint.main]
py-version = "3.8"
ignore-paths = ["khard/version.py"]
[tool.pylint."messages control"]
disable = ["consider-using-f-string"]