-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (113 loc) · 2.78 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
117
118
119
120
121
122
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "qs-codec"
description = "A query string encoding and decoding library for Python. Ported from qs for JavaScript."
readme = "README.rst"
license = { text = "BSD-3-Clause" }
requires-python = ">=3.8"
authors = [
{ name = "Klemen Tusar", email = "[email protected]" },
]
keywords = [
"qs",
"codec",
"url",
"query",
"querystring",
"query-string",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"regex>=2024.4.28",
"types-regex>=2024.4.28.20240506",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://techouse.github.io/qs_codec/"
Documentation = "https://techouse.github.io/qs_codec/"
Source = "https://github.com/techouse/qs_codec"
Changelog = "https://github.com/techouse/qs_codec/blob/master/CHANGELOG.md"
Sponsor = "https://github.com/sponsors/techouse"
PayPal = "https://paypal.me/ktusar"
[tool.hatch.version]
path = "src/qs_codec/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"src",
"tests",
"README.rst",
"CHANGELOG.md",
"CODE-OF-CONDUCT.md",
"LICENSE",
"requirements_dev.txt",
]
[tool.hatch.build.targets.wheel]
packages = ["src/qs_codec"]
[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311", "py312"]
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
)/
| foo.py
)
'''
[tool.isort]
line_length = 120
profile = "black"
lines_after_imports = 2
known_first_party = "qs"
skip_gitignore = true
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
norecursedirs = [".*", "venv", "env", "*.egg", "dist", "build"]
minversion = "8.1.1"
addopts = "-rsxX -l --tb=short --strict-markers"
markers = []
[tool.mypy]
mypy_path = "src"
python_version = "3.8"
exclude = [
"tests",
"docs",
"build",
"dist",
"venv",
"env",
]
show_error_codes = true
warn_return_any = true
warn_unused_configs = true