-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (73 loc) · 2.22 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
[build-system]
requires = ["setuptools==82.0.1"]
build-backend = "setuptools.build_meta"
[project]
name = "atomicreplace"
version = "0.1.0"
description = "Explicit, dependency-free atomic file replacement for Python"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
license-files = ["LICENSE"]
authors = [{name = "atomicreplace contributors"}]
keywords = ["atomic", "filesystem", "durability", "files", "safe-write"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
dev = [
"build==1.5.0",
"coverage==7.15.2",
"mypy==2.3.0",
"ruff==0.16.0",
]
[project.urls]
Homepage = "https://github.com/matteobroketa/atomicreplace"
Repository = "https://github.com/matteobroketa/atomicreplace"
Issues = "https://github.com/matteobroketa/atomicreplace/issues"
Changelog = "https://github.com/matteobroketa/atomicreplace/blob/main/CHANGELOG.md"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
atomicreplace = ["py.typed"]
[tool.ruff]
target-version = "py39"
line-length = 100
extend-exclude = ["build", "dist"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "SIM", "RUF"]
ignore = ["SIM105", "SIM117"]
[tool.mypy]
# mypy==2.3.0 no longer accepts a Python 3.9 analysis target. Python 3.9
# remains enforced by the hosted runtime matrix and repository syntax validator.
python_version = "3.10"
strict = true
files = ["src/atomicreplace"]
exclude = ["build", "dist"]
[tool.coverage.run]
branch = true
source = ["atomicreplace"]
[tool.coverage.report]
fail_under = 95
show_missing = true
skip_covered = true
exclude_also = [
"if TYPE_CHECKING:",
"raise AssertionError",
"raise NotImplementedError",
]