-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathpyproject.toml
72 lines (63 loc) · 1.76 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
[tool.poetry]
name = "pixivpy3"
version = "3.12.3"
description = "Pixiv API for Python (with 6.x AppAPI supported)"
authors = ["upbit <[email protected]>"]
license = "Unlicense"
readme = "README.md"
keywords = ["pixiv", "api", "pixivapi"]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
homepage = "https://github.com/upbit/pixivpy"
[tool.poetry.dependencies]
python = "^3.8"
cloudscraper = "^1.2.58"
requests = "^2.31.0"
requests-toolbelt = "^1.0.0"
urllib3 = "^2.0.7"
typing-extensions = "^4.1.1"
[tool.poetry.group.dev.dependencies]
black = [
{ version = ">=23.1.0", extras = ["jupyter"], markers = "python_version < '3.12'" },
{ version = ">=23.12.0", extras = ["jupyter"], markers = "python_version >= '3.12'" }
]
ruff = ">=0.1,<0.3"
isort = ">=5.11.5"
mypy = ">=0.931"
pre-commit = ">=2.18.1"
pytest = ">=7.3"
types-requests = ">=2.27.10"
[tool.poetry.group.test.dependencies]
pytest = "^7.3.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = 7.3
adops = "-ra"
log_cli = true
log_cli_level = 20
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.isort]
profile = "black"
[tool.black]
line-length = 127
preview = true
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.ruff]
line-length = 127
[tool.mypy]
python_version = 3.8
show_error_codes = true
pretty = true
strict = true
files = "pixivpy3"