-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpyproject.toml
99 lines (88 loc) · 1.94 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
[tool.poetry]
name = "aioauth-client"
version = "0.29.0"
description = "OAuth support for Asyncio/Trio libraries"
readme = "README.rst"
homepage = "https://github.com/klen/aioauth-client"
repository = "https://github.com/klen/aioauth-client"
authors = ["Kirill Klenov <horneds@gmail.com>"]
license = "MIT"
keywords = ["asyncio", "trio", "oauth"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
]
packages = [{ include = "aioauth_client" }]
[tool.poetry.dependencies]
python = "^3.9"
httpx = "*"
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-aio = "*"
pytest-mypy = "*"
ruff = "*"
pre-commit = "*"
trio = "*"
[tool.poetry.group.example.dependencies]
asgi-tools = "*"
asgi-sessions = "*"
uvicorn = "*"
[tool.pytest.ini_options]
addopts = "-svx --mypy"
[tool.mypy]
packages = ["aioauth_client"]
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39,py310,py311,py312,py313
[testenv]
deps =
-e .
pytest
pytest-aio
pytest-mypy
trio
commands =
pytest tests
"""
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = [".venv", "docs", "examples"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"A003",
"ANN",
"COM812",
"D",
"DJ",
"EM",
"N804",
"PLR0912",
"PLR2004",
"RET",
"RSE",
"S101",
"SLF",
"TRY003",
"UP",
]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312", "py313"]
preview = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"