-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
70 lines (59 loc) · 1.33 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
[tool.poetry]
name = "cmdict"
version = "0.1.11"
description = "A command line dictionary toolset."
authors = ["zequnyu <[email protected]>", "edxu96 <[email protected]>"]
license = "GPL-3.0"
exclude = ["src/cmdict/data/*"]
readme = "README.md"
repository = "https://github.com/pastydev/cmdict"
[tool.poetry.scripts]
cmdict = 'cmdict:run_script.cli'
cmdicts = 'cmdict:run_script.search'
[tool.poetry.dependencies]
python = ">=3.8.0,<4.0"
loguru = ">=0.5.1"
click = ">=7.1.2"
colorama = ">=0.4.3"
requests = ">=2.24.0"
tqdm = ">=4.48.0"
pyyaml = ">=5.3.1"
trogon = "~0.5.0"
[tool.poetry.group.pdf]
optional = true
[tool.poetry.group.pdf.dependencies]
PyMuPDF = ">=1.23.20,<1.25.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = ">=7,<9"
pytest-cov = ">=2.9,<6.0"
pytest-xdist = ">=1.32,<4.0"
debugpy = ">=1.8.1"
[tool.poetry.group.check]
optional = true
[tool.poetry.group.check.dependencies]
pre-commit = "3.5.0"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[build-system]
requires = ["poetry>=1.2.0a1"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
minversion = "7.0"
pythonpath = ["src"] # https://stackoverflow.com/a/50610630/10181743
testpaths = ["tests"]