-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (83 loc) · 2.43 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (83 loc) · 2.43 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tmpkit"
version = "1.0.1"
description = "Ergonomic tempfile & tempdir context managers with auto-cleanup, atomic writes, async support, and zero dependencies."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [{ name = "Mathias Paulenko", email = "mathias.paulenko@outlook.com" }]
keywords = ["tempfile", "temp", "temporary", "context manager", "cleanup", "async", "atomic", "filesystem", "tmp"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: System :: Filesystems",
"Typing :: Typed",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"build>=1.0",
]
[project.urls]
Homepage = "https://github.com/MathiasPaulenko/tmpkit"
Repository = "https://github.com/MathiasPaulenko/tmpkit"
Issues = "https://github.com/MathiasPaulenko/tmpkit/issues"
Changelog = "https://github.com/MathiasPaulenko/tmpkit/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
packages = ["tmpkit"]
[tool.ruff]
target-version = "py311"
src = ["tmpkit", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # bugbear
"C4", # comprehensions
"UP", # pyupgrade
"SIM", # simplify
"RUF", # ruff-specific
]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "--cov=tmpkit --cov-branch --cov-report=term-missing"
[tool.coverage.run]
source = ["tmpkit"]
branch = true
[tool.coverage.report]
fail_under = 95
show_missing = true