-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (72 loc) · 1.55 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
[project]
name = "superpathlib"
version = "2.0.9"
description = "Extended Pathlib"
authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"simple-classproperty >=4.0.2, <5",
]
[project.optional-dependencies]
full = [
"dirhash >=0.2.1, <1",
"numpy >=1.26.4, <3",
"package-utils >=0.6.1, <1",
"PyYaml >=6.0.1, <7",
"xattr >=0.10.1, <2",
]
dev = [
"hypothesis >=6.97.1, <7",
"package-dev-tools >=0.5.12, <1",
# types
"types-PyYaml >=6.0.12.12, <7",
# full
"dirhash >=0.2.1, <1",
"numpy >=1.26.4, <3",
"package-utils >=0.6.1, <1",
"PyYaml >=6.0.1, <7",
"xattr >=0.10.1, <2",
]
[project.urls]
"Source Code" = "https://github.com/quintenroets/superpathlib"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
command_line = "-m pytest tests"
[tool.coverage.report]
precision = 4
fail_under = 100
[tool.mypy]
strict = true
no_implicit_reexport = false
[[tool.mypy.overrides]]
module = [
"dirhash.*",
"xattr.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = [
"src", ".",
]
[tool.ruff]
fix = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401", # annotated with Any
"D", # docstrings
"G004", # logging f-string
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401" # unused import
]
"tests/*" = [
"S101" # assert used
]
[tool.setuptools.package-data]
superpathlib = ["py.typed"]