-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (74 loc) · 1.96 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aiorem"
dynamic = ["version"]
description = 'asyncio Context Manager with Explicit Interface'
readme = "README.rst"
requires-python = ">=3.11"
license = "MIT"
keywords = ["asyncio", "resources", "contextmanager"]
authors = [
{ name = "Hinrich Mahler", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = []
[project.urls]
Documentation = "https://aiorem.readthedocs.io/"
Issues = "https://github.com/Bibo-Joshi/aiorem/issues"
Source = "https://github.com/Bibo-Joshi/aiorem"
# HATCH:
[tool.hatch.version]
path = "aiorem/__about__.py"
[tool.hatch.build]
packages = ["aiorem"]
# BLACK:
[tool.black]
line-length = 99
# RUFF:
[tool.ruff]
line-length = 99
show-fixes = true
[tool.ruff.lint]
preview = true
explicit-preview-rules = true
select = ["E", "F", "I", "PL", "UP", "RUF", "PTH", "C4", "B", "PIE", "SIM", "RET", "RSE",
"G", "ISC", "PT", "ASYNC", "TCH", "SLOT", "PERF", "PYI", "FLY", "AIR", "RUF022",
"RUF023", "Q", "INP", "W", "YTT", "DTZ", "ARG"]
[tool.ruff.lint.per-file-ignores]
"docs/**.py" = ["INP001"]
# MYPY:
[tool.mypy]
warn_unused_ignores = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
show_error_codes = true
python_version = "3.11"
# PYTEST:
[tool.pytest.ini_options]
pythonpath= ["src", "tests"]
asyncio_mode = "auto"
# COVERAGE:
[tool.coverage.run]
source_pkgs = ["aiorem"]
branch = true
parallel = true
[tool.coverage.report]
exclude_lines = [
"no cov",
"@overload",
"@abstractmethod",
"if TYPE_CHECKING:"
]