-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (93 loc) · 3.3 KB
/
pyproject.toml
File metadata and controls
111 lines (93 loc) · 3.3 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "slmp-connect-python"
version = "0.1.15"
description = "SLMP Connect Python: client library for Mitsubishi SLMP binary communication"
readme = "README.md"
requires-python = ">=3.10"
dependencies = []
authors = [{ name = "fa-yoshinobu" }]
license = "MIT"
license-files = ["LICENSE"]
keywords = ["slmp", "melsec", "mitsubishi", "plc", "3e", "4e", "binary"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
]
[project.urls]
Homepage = "https://github.com/fa-yoshinobu/plc-comm-slmp-python"
Repository = "https://github.com/fa-yoshinobu/plc-comm-slmp-python"
Issues = "https://github.com/fa-yoshinobu/plc-comm-slmp-python/issues"
[project.optional-dependencies]
dev = [
"build>=1.2",
"mypy>=1.10",
"pre-commit>=3.7",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.6",
"twine>=5.1",
]
[project.scripts]
slmp-connection-check = "slmp.cli:connection_check_main"
slmp-device-range-probe = "slmp.cli:device_range_probe_main"
slmp-register-boundary-probe = "slmp.cli:register_boundary_probe_main"
slmp-other-station-check = "slmp.cli:other_station_check_main"
slmp-open-items-recheck = "slmp.cli:open_items_recheck_main"
slmp-g-hg-extended-device-recheck = "slmp.cli:g_hg_extended_device_recheck_main"
slmp-g-hg-extended-device-coverage = "slmp.cli:g_hg_extended_device_coverage_main"
slmp-extended-device-recheck = "slmp.cli:extended_device_recheck_main"
slmp-pending-live-verification = "slmp.cli:pending_live_verification_main"
slmp-init-model-docs = "slmp.cli:init_model_docs_main"
slmp-device-access-matrix-sync = "slmp.cli:device_access_matrix_sync_main"
slmp-manual-write-verification = "slmp.cli:manual_write_verification_main"
slmp-manual-label-verification = "slmp.cli:manual_label_verification_main"
slmp-read-soak = "slmp.cli:read_soak_main"
slmp-mixed-read-load = "slmp.cli:mixed_read_load_main"
slmp-tcp-concurrency = "slmp.cli:tcp_concurrency_main"
slmp-regression-suite = "slmp.cli:regression_suite_main"
[tool.setuptools.packages.find]
include = ["slmp*"]
exclude = ["tests*", "scripts*", "internal_docs*"]
[tool.setuptools]
include-package-data = true
exclude-package-data = { "*" = ["TODO.md", ".pre-commit-config.yaml"] }
[tool.setuptools.package-data]
slmp = ["py.typed"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.ruff.lint.isort]
known-first-party = ["slmp"]
[tool.mypy]
files = ["slmp"]
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_equality = true
[tool.coverage.run]
source = ["slmp"]
branch = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.report]
show_missing = true