-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (60 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
71 lines (60 loc) · 1.61 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "python-s7comm"
version = "0.1.1"
description = "Unofficial Python implementation of Siemens S7 communication protocol"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{ name = "nikteliy" }
]
keywords = ["siemens", "s7", "plc", "s7comm", "automation", "industrial"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Hardware",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/nikteliy/python-s7comm"
Repository = "https://github.com/nikteliy/python-s7comm"
Issues = "https://github.com/nikteliy/python-s7comm/issues"
[dependency-groups]
test = [
"pytest~=8.2.2",
"pytest-cov~=5.0.0",
"pytest-asyncio~=0.23.7",
"pytest-timeout>=2.4.0",
]
dev = [
"mypy~=1.10.1",
"pre-commit~=3.7.1",
"ruff~=0.5.1",
"python-dotenv",
]
[tool.setuptools]
py-modules = []
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
timeout = 5 # seconds for all tests
[tool.ruff]
output-format = "full"
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["I"] # Enable isort
[tool.ruff.lint.isort]
known-first-party = ["python_s7comm"]
lines-after-imports = 2
[tool.mypy]
strict = true