-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (83 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
99 lines (83 loc) · 2.11 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
95
96
97
98
99
[build-system]
requires = ["setuptools>=78.1.1", "setuptools_scm>=8.0", "Cython"]
build-backend = "build_backend"
backend-path = ["util"]
[project]
name = "pyfuse3"
dynamic = ["version"]
description = "Python 3 bindings for libfuse 3 with async I/O support"
readme = "README.rst"
requires-python = ">=3.10"
license = "LGPL-2.1-or-later"
authors = [
{name = "Nikolaus Rath", email = "Nikolaus@rath.org"}
]
keywords = ["FUSE", "python"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Filesystems",
"Operating System :: POSIX :: Linux",
"Typing :: Typed",
]
dependencies = [
"trio >= 0.15",
]
[project.urls]
Homepage = "https://github.com/libfuse/pyfuse3"
[dependency-groups]
dev = [
"pyright>=1.1.407",
"mypy>=1.19.1",
"pytest >= 3.4.0",
"pytest-trio",
"ruff>=0.14.10",
"sphinx",
"twine",
]
[tool.setuptools_scm]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
pyfuse3 = ["py.typed"]
[tool.ruff]
line-length = 100
extend-exclude = [
"developer-notes/",
]
[tool.ruff.lint.isort]
combine-as-imports = true
case-sensitive = false
[tool.ruff.lint]
ignore = [
"E731", # Do not assign a lambda expression, use a def
]
extend-select = [
'RUF100', # Warn about unused suppressions
'I', # Import ordering
]
[tool.mypy]
exclude = [ "^util/.+", "^rst/conf.py$" ]
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.pyright]
typeCheckingMode = "standard"
exclude = [ "**/__pycache__",
"**/.*",
"util/",
"rst/conf.py" ]
# Need for pyright to resolve tests importing tests/util.py (when pytest runs the
# test, it adds the tests/ directory to sys.path)
extraPaths = ['test']
[tool.codespell]
skip = '.git,*.html,developer-notes/'
ignore-words-list = 're-use,re-used'
[tool.ruff.format]
quote-style = "preserve"