-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 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
76
77
78
79
[tool.poetry]
name = "yumemi"
version = "2.1.0"
description = "AniDB API library for Python and simple CLI client"
readme = "README.rst"
authors = ["Filip Pobořil <tsuki@fpob.cz>"]
license = "MIT"
repository = "https://github.com/fpob/yumemi"
documentation = "https://yumemi.readthedocs.io/"
keywords = ["AniDB"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Topic :: Utilities",
]
include = ["tests", "docs"]
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1"
attrs = "^22.1"
cryptography = ">=41.0.4"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
pytest-mock = "^3.10.0"
mypy = "^0.991"
pyproject-flake8 = "^6.0.0"
flake8-bugbear = "^22.12.6"
flake8-isort = "^5.0.3"
isort = "^5.10.1"
furo = "^2023.3.27"
sphinx = "^5.3.0"
sphinx-click = "^4.4.0"
poethepoet = "^0.16.5"
[tool.poetry.scripts]
yumemi = "yumemi.cli:main"
[tool.poe.tasks]
pytest = "pytest"
mypy = "mypy src"
flake8 = "pflake8 src tests"
isort = "isort src tests"
docs = "sphinx-build -a docs build/docs"
[tool.pytest.ini_options]
addopts = "-ra -v"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
namespace_packages = true
install_types = true
non_interactive = true
exclude = ["src/yumemi/_rhash"]
[tool.flake8]
max-line-length = 80
select = "C,E,F,W,B,B950,I"
ignore = "W503,E501"
exclude = "src/yumemi/_rhash"
[tool.isort]
lines_after_imports = 2
line_length = 88
extend_skip = ["src/yumemi/_rhash"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"