-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (105 loc) · 5.33 KB
/
pyproject.toml
File metadata and controls
113 lines (105 loc) · 5.33 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ai-lab-testing"
version = "0.4.1"
description = "MCP server for remote embedded hardware testing. Making remote embedded hardware development easy and accessible for engineers. Provides intelligent tooling with helpful guidance, best practices, and automated workflows."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "GPL-3.0-or-later"}
authors = [
{name = "Alex J Lennon", email = "ajlennon@dynamicdevices.co.uk"}
]
maintainers = [
{name = "Alex J Lennon", email = "ajlennon@dynamicdevices.co.uk"}
]
keywords = ["mcp", "model-context-protocol", "embedded", "hardware", "testing", "remote", "iot", "lab", "automation", "remote-development", "ssh", "vpn", "wireguard", "foundries", "embedded-linux"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Hardware",
"Topic :: System :: Networking",
"Topic :: System :: Systems Administration",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
dependencies = [
"mcp>=1.0.0",
"pydantic>=2.0.0",
"requests>=2.28.0",
"matplotlib>=3.5.0",
]
[project.urls]
Homepage = "https://github.com/DynamicDevices/ai-lab-testing"
Documentation = "https://github.com/DynamicDevices/ai-lab-testing/blob/main/README.md"
"Remote Development Guide" = "https://github.com/DynamicDevices/ai-lab-testing/blob/main/docs/REMOTE_DEVELOPMENT_GUIDE.md"
Repository = "https://github.com/DynamicDevices/ai-lab-testing"
Issues = "https://github.com/DynamicDevices/ai-lab-testing/issues"
"Changelog" = "https://github.com/DynamicDevices/ai-lab-testing/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
]
[tool.black]
line-length = 100
target-version = ['py38']
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "DTZ", "T10", "EM", "ISC", "ICN", "PIE", "T20", "PYI", "PT", "Q", "RSE", "RET", "SIM", "ARG", "PTH", "ERA", "PD", "PGH", "PL", "TRY", "NPY", "RUF"]
ignore = [
"E501", # Line too long (handled by black)
"PTH123", # `open()` should be replaced by `Path.open()` - style preference
"PLR2004", # Magic value used in comparison - acceptable for tests and simple code
"PLC0415", # `import` should be at the top-level - sometimes needed for circular imports
"TRY300", # Consider moving this statement to an `else` block - style preference
"TRY400", # Use `logging.exception` instead of `logging.error` - style preference
"EM102", # Exception must not use an f-string literal - style preference
"EM101", # Exception must not use a string literal - style preference
"TRY003", # Avoid specifying long messages outside the exception class - style preference
"TRY301", # Abstract `raise` to an inner function - style preference
"B904", # Within an `except` clause, raise exceptions with `raise ... from err` - style preference
"PLR0912", # Too many branches - acceptable for complex functions
"PLR0913", # Too many arguments - acceptable for some functions
"PLR0915", # Too many statements - acceptable for complex functions
"PLR0911", # Too many return statements - acceptable for some functions
"ARG001", # Unused function argument - acceptable for interface compatibility
"ARG002", # Unused method argument - acceptable for test fixtures
"F841", # Local variable is assigned to but never used - acceptable in some cases
"F811", # Redefinition of unused - acceptable for aliases
"PLW0602", # Using global for `_connection_pool` but no assignment is done - false positive
"PLW0603", # Using the global statement to update `_logger` is discouraged - acceptable pattern
"PLW2901", # `for` loop variable `line` overwritten by assignment target - acceptable pattern
"DTZ003", # `datetime.datetime.utcnow()` used - acceptable for backward compatibility
"PTH101", # `os.chmod()` should be replaced by `Path.chmod()` - style preference
"RUF015", # Prefer `next(iter(...))` over single element slice - style preference
"RUF048", # `__version__` may contain non-integral-like elements - acceptable for version strings
"B007", # Loop control variable not used within loop body - acceptable for unpacking
"RET504", # Unnecessary assignment before return - style preference
"SIM108", # Use ternary operator - style preference
"T201", # `print` found - acceptable for test/debug scripts
"F401", # Imported but unused - acceptable for import tests and type checking
]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
norecursedirs = [".*", "build", "dist", "lab_testing"]