-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
73 lines (64 loc) · 1.77 KB
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
[build-system]
requires = ["maturin>=1.5,<2.0"]
build-backend = "maturin"
[project]
name = "primp"
description = "HTTP client that can impersonate web browsers"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT License"}
keywords = ["python", "request", "impersonate"]
authors = [
{name = "deedy5"}
]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version"]
dependencies = []
[project.urls]
repository = "https://github.com/deedy5/primp"
[project.optional-dependencies]
dev = [
"certifi",
"pytest>=8.1.1",
"pytest-asyncio>=0.25.3",
"typing_extensions; python_version <= '3.11'", # for Unpack[TypedDict]
"mypy>=1.14.1",
"ruff>=0.9.2"
]
[tool.maturin]
features = []
[tool.ruff]
line-length = 120
exclude = ["tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
[tool.mypy]
python_version = "3.10"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
markers = [
"internet: marks tests that require external internet connectivity",
"slow: marks tests that are slow to run",
]