forked from NVDARemote/remote-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (86 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
102 lines (86 loc) · 2.28 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
# Copyright 2025 NV Access Limited
#
# This file is part of the NVDA Remote Access Relay Server.
#
# NVDA Remote Access Relay Server is free software: you can redistribute it and/or modify it under the terms
# of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# NVDA Remote Access Relay Server is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License along with NVDA Remote Access Relay
# Server. If not, see <https://www.gnu.org/licenses/>.
[project]
name = "remote-server"
version = "0.1.0"
description = "NVDA Remote Access remote relay server."
readme = "README.md"
requires-python = "~=3.13.0"
dependencies = [
"pyopenssl~=25.1",
"service-identity~=24.2",
"twisted~=24.11",
]
[dependency-groups]
dev = [
"coverage~=7.8",
"pre-commit~=4.2",
"pyright~=1.1",
"ruff~=0.11",
]
[tool.pyright]
venvPath = ".venv"
venv = "."
pythonPlatform = "Linux"
typeCheckingMode = "strict"
include = [
"**/*.py",
]
exclude = [
".git",
"__pycache__",
".venv",
"setup.py",
# When excluding concrete paths relative to a directory,
# not matching multiple folders by name e.g. `__pycache__`,
# paths are relative to the configuration file.
]
# General config
analyzeUnannotatedFunctions = true
deprecateTypingAliases = true
# The following options cause problems due to polymorphism in Twisted
reportAttributeAccessIssue = false
reportUnknownMemberType = false
reportOptionalMemberAccess = false
# The following option causes problems due to dynamic member access
reportUnknownArgumentType = false
[tool.ruff]
line-length = 110
include = [
"*.py",
]
exclude = [
".git",
"__pycache__",
".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",
]
[tool.coverage.run]
branch = true
command_line = "-m twisted.trial ./test.py"
[tool.coverage.report]
fail_under = 100
exclude_also = [
'if __name__ == .__main__.:',
]