-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (103 loc) · 2.47 KB
/
pyproject.toml
File metadata and controls
114 lines (103 loc) · 2.47 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "designer-plugin"
version = "1.2.1"
description = "Python library for creating Disguise Designer plugins with DNS-SD discovery and remote Python execution"
authors = [
{ name = "Tom Whittock", email = "tom.whittock@disguise.one" },
{ name = "Taegyun Ha", email = "taegyun.ha@disguise.one" }
]
dependencies = [
"aiohttp>=3.13.2",
"pydantic>=2.12.4",
"requests>=2.32.5",
"types-requests>=2.32.4.20250913",
"zeroconf>=0.39.0",
]
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
readme = "README.md"
license = "MIT"
[tool.setuptools.package-data]
designer_plugin = ["py.typed"]
[tool.setuptools.packages.find]
where = ["src"]
[project.urls]
Homepage = "https://github.com/disguise-one/python-plugin"
Documentation = "https://developer.disguise.one/plugins/python-execution-api/"
Issues = "https://github.com/disguise-one/python-plugin/issues"
Sponsor = "https://www.disguise.one"
# Package development
[dependency-groups]
dev = [
"mypy>=1.18.2",
"pre-commit>=4.4.0",
"pytest>=9.0.1",
"ruff>=0.14.5",
"twine>=6.2.0",
]
[tool.ruff]
target-version = "py311"
exclude = [
"tests",
".venv",
".devcontainer",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
mypy_path = "src"
files = ["src"]
exclude = [
".venv/",
".devcontainer/",
]
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = false
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
strict_optional = true
no_implicit_optional = true
show_error_codes = true
show_column_numbers = true
[[tool.mypy.overrides]]
module = "zeroconf.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--strict-config",
]