-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
121 lines (109 loc) · 2.62 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "universalasync"
dynamic = ["version"]
description = "A library to help automate the creation of universal python libraries"
readme = "README.md"
license = "MIT"
authors = [{ name = "MrNaif2018", email = "[email protected]" }]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"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",
]
keywords = [
"async",
"await",
"bitcart",
"universal",
"sync",
"asyncio",
"asynctosync",
"synctoasync",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/bitcart/universalasync"
Source = "https://github.com/bitcart/universalasync"
Changelog = "https://github.com/bitcart/universalasync/blob/master/CHANGELOG.md"
[dependency-groups]
dev = ["pre-commit", "pytest", "pytest-cov", "ruff", "mypy"]
docs = [
"commonmark",
"mock",
"pillow",
"recommonmark",
"sphinx",
"sphinx-rtd-theme",
]
all = [{ include-group = 'dev' }, { include-group = 'docs' }]
[tool.uv]
default-groups = ["dev"]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "universalasync/version.py" },
]
[tool.hatch.version]
path = "universalasync/version.py"
[tool.hatch.build.targets.wheel]
packages = ["universalasync"]
[tool.ruff]
target-version = "py39"
line-length = 127
[tool.ruff.lint]
select = [
"F",
"E",
"I",
"UP",
"YTT",
"B",
"T10",
"C",
"SIM",
"RUF100",
"RET",
"A",
"S",
"ASYNC",
]
ignore = ["RET502", "RET503", "S104", "S507", "ASYNC110"]
mccabe = { max-complexity = 12 }
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S"]
[tool.mypy]
warn_redundant_casts = true
warn_unused_ignores = true
disallow_untyped_calls = true
disallow_untyped_defs = true
check_untyped_defs = true
warn_return_any = true
no_implicit_optional = true
strict_optional = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = ["--cov=universalasync", "--cov-report", "term-missing"]
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
]
[tool.coverage.run]
omit = [
"*__init__.py",
"tests/*",
"venv/*",
"env/*",
"universalasync/version.py",
"setup.py",
]