-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpyproject.toml
75 lines (64 loc) · 1.6 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
[project]
name = "apyanki"
version = "0.16.3"
description = "CLI script for interacting with local Anki collection"
authors = [{ name = "Karl Yngve Lervåg", email = "karl.yngve@lervag.net" }]
requires-python = "~=3.9"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
]
dependencies = [
"beautifulsoup4>=4.12.2,<5",
"click>=8.1.3,<9",
"markdown>=3.4.3,<4",
"readchar>=4.0.5,<5",
"markdownify>=0.11.6,<0.12",
"anki>=23.10",
"html5lib~=1.1",
"rich>=13.7.1,<14",
]
[project.urls]
Homepage = "https://github.com/lervag/apy"
"Bug Tracker" = "https://github.com/lervag/apy/issues"
[project.scripts]
apy = "apyanki.cli:main"
[dependency-groups]
dev = [
"pytest>=7.3.1,<8",
"pylint>=3.0.2,<4",
"bump2version>=1.0.1,<2",
"black>=24.3.0,<25",
"mypy>=1.3.0,<2",
"types-beautifulsoup4>=4.12.0.5,<5",
"types-markdown>=3.4.2.9,<4",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest]
filterwarnings = ["ignore::DeprecationWarning:html5lib.*:"]
[tool.pylint.master]
init-hook = 'import sys; sys.path.append("/usr/share/anki")'
[tool.pylint.reports]
output-format = "colorized"
[tool.pylint.format]
max-line-length = "88"
[tool.pylint."messages control"]
max-statements = 75
disable = [
"invalid-name",
"too-many-branches",
"too-many-instance-attributes",
]
[tool.mypy]
exclude = ".venv"
strict = true
[[tool.mypy.overrides]]
module = [
"markdownify",
]
ignore_missing_imports = true