-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
86 lines (79 loc) · 1.91 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
[tool.poetry]
name = "curlipie"
version = "0.9.0"
description = "Library to convert cURL command line to HTTPie"
authors = ["Nguyễn Hồng Quân <ng.hong.quan@gmail.com>"]
maintainers = [
"Nguyễn Hồng Quân <ng.hong.quan@gmail.com>"
]
license = "MPL-2.0"
readme = "README.rst"
repository = "https://github.com/hongquan/CurliPie.git"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Environment :: Web Environment",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules"
]
keywords = ["api", "http", "curl", "httpie", "cli", "conversion"]
[tool.poetry.dependencies]
python = "^3.11"
multidict = "^6.0.5"
yarl = "^1.9.4"
orjson = "^3.10.3"
first = "^2.0.2"
http-constants = "^0.5.0"
logbook = "^1.7.0.post0"
single-version = "^1.6.0"
kiss-headers = "^2.4.3"
pydantic = "^2.7.2"
typed-argument-parser = "^1.10.0"
pydantic-settings = "^2.2.1"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.1"
devtools = "^0.12.2"
fastapi = "^0.111.0"
aiofiles = "^23.2.1"
ruff = "^0.4.7"
uvicorn = "^0.30.1"
jinja2 = "^3.1.4"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests", "curlipie"]
[tool.ruff]
line-length = 120
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
target-version = "py312"
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "single"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"