-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
73 lines (61 loc) · 1.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
[tool.poetry]
name = "apyanki"
version = "0.16.2"
description = "CLI script for interacting with local Anki collection"
authors = ["Karl Yngve Lervåg <[email protected]>"]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
]
homepage = "https://github.com/lervag/apy"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/lervag/apy/issues"
[tool.poetry.dependencies]
python = "^3.9"
beautifulsoup4 = "^4.12.2"
click = "^8.1.3"
markdown = "^3.4.3"
readchar = "^4.0.5"
markdownify = "^0.11.6"
anki = ">=23.10"
html5lib = "^1.1"
rich = "^13.7.1"
[tool.poetry.scripts]
apy = "apyanki.cli:main"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pylint = "^3.0.2"
bump2version = "^1.0.1"
black = "^24.3.0"
mypy = "^1.3.0"
types-beautifulsoup4 = "^4.12.0.5"
types-markdown = "^3.4.2.9"
[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",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = ".venv"
strict = true
[[tool.mypy.overrides]]
module = [
"markdownify",
]
ignore_missing_imports = true