forked from nvaccess/addon-datastore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (100 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
121 lines (100 loc) · 2.27 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["setuptools~=82.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "addon-datastore"
dynamic = ["version"]
description = "Add-on datastore"
maintainers = [
{name = "NV Access", email = "info@nvaccess.org"},
]
requires-python = ">=3.13.0, <3.14"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3",
"Programming Language :: Python :: 3",
"Topic :: Accessibility",
]
readme = "readme.md"
license = {file = "LICENSE"}
dependencies = [
"configobj==5.0.6",
"jsonschema==4.26.0",
"requests==2.32.5",
]
[project.urls]
Homepage = "https://www.nvaccess.org/"
Repository = "https://github.com/nvaccess/addon-datastore.git"
Issues = "https://github.com/nvaccess/addon-datastore/issues"
[tool.pyright]
venvPath = ".venv"
venv = "."
pythonPlatform = "Windows"
typeCheckingMode = "strict"
include = [
"**/*.py",
]
exclude = [
".git",
"__pycache__",
".venv",
]
# While exclude tells pyright not to scan files in the first instance,
# it will still analyse files included by other files.
ignore = [
# We do not care about errors in our dependencies.
".venv",
]
# General config
analyzeUnannotatedFunctions = true
deprecateTypingAliases = true
# Stricter typing
strictParameterNoneValue = true
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
# ignore configobj
reportMissingTypeStubs = false
[tool.uv]
default-groups = "all"
environments = ["sys_platform == 'win32'"]
required-version = ">=0.8"
[tool.setuptools]
[tool.setuptools.packages.find]
where = ["validation", "transform"]
include = ["_validate*", "src*"]
[tool.uv.sources]
configobj = { git = "https://github.com/DiffSK/configobj", rev = "8be54629ee7c26acb5c865b74c76284e80f3aa31" }
[dependency-groups]
lint = [
"ruff==0.13.3",
"pre-commit==4.3.0",
"pyright==1.1.406",
]
unit-tests = [
# Creating XML unit test reports
"unittest-xml-reporting==4.0.0",
]
[tool.ruff]
line-length = 110
include = [
"*.py",
]
exclude = [
".git",
"__pycache__",
"build",
"output",
".venv",
]
[tool.ruff.format]
indent-style = "tab"
line-ending = "lf"
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint]
ignore = [
# indentation contains tabs
"W191",
]