forked from upbit/pixivpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (59 loc) · 1.58 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
[tool.poetry]
name = "pixivpy3"
version = "3.7.4"
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",
]
homepage = "https://github.com/upbit/pixivpy"
[tool.poetry.dependencies]
python = "^3.7"
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 = ">=22.1.0", extras = ["jupyter"] }
ruff = "^0.1.0"
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"