-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
116 lines (106 loc) · 2.63 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.bandit]
skips = ["B101"]
[tool.black]
line-length = 88
target-version = ["py36", "py37", "py38", "py39", "py310"]
include = '\.pyi?$'
exclude = '''
/(
pdms/templates
| \.git
| \.hg
| \.mypy_cache
| \.pip-cache
| \.poetry
| \.venv
| \.vscode
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
combine_as_imports = true
default_section = "LOCALFOLDER"
no_lines_before = "LOCALFOLDER"
force_grid_wrap = false
include_trailing_comma = true
known_first_party = """
coub_api
"""
known_third_party = """
pydantic
pytest
"""
line_length = 88
multi_line_output = 3
length_sort = "1"
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
skip = ".eggs,.venv,venv"
[tool.flake8]
max-line-length=88
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = false
[tool.pytest.ini_options]
markers = [
"webtest: marks tests as doing real http-call (deselect with '-m \"not webtest\"')",
"serial",
]
[tool.poetry]
name = "pornhub-api"
version = "0.3.0"
description = ""
authors = ["Andrew Grinevich <beule@gmail.com>"]
readme = "README.rst"
repository = "https://github.com/Derfirm/pornhub_api"
license = "MIT"
keywords = ["pornhub", "pornhub-api", "api-wrapper"]
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Information Technology',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
packages = [
{ include = "pornhub_api" },
{ include = "README.rst" },
{ include = "LICENSE" },
]
[tool.poetry.dependencies]
python = "<3.12,>=3.8"
pydantic = ">=1.4"
requests = ">=2.23.0"
aiohttp = {version = ">=3.6.2", optional = true}
httpx = {version = ">=0.23.1", optional = true}
[tool.poetry.group.dev.dependencies]
black = ">=22.10,<25.0"
mypy = "==1.10.0"
isort = "^5.7.0"
bandit = {extras = ["toml"], version = ">=1.7.4"}
pytest = ">=6.2.5"
pytest-cov = ">=2.11.1"
deepdiff = ">=5.8,<7.0"
requests-mock = "^1.8.0"
pytest-lazy-fixture = "^0.6.3"
aioresponses = ">=0.6.4"
pytest-asyncio = ">=0.14.0"
types-requests = "^2.28.11.5"
pytest-httpx = "^0.21.2"
[tool.poetry.extras]
aiohttp-backend = ["aiohttp"]
httpx-backend = ["httpx"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"