-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (69 loc) · 1.73 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyS7"
version = "0.2.0"
description = ""
readme = "Readme.md"
requires-python = ">=3.8"
keywords = ["plc", "s7", "siemens"]
license = {file = "LICENCE"}
authors = [
{ name = "Filippo Cara", email = "fili.cara@gmail.com" },
]
classifiers = [
"Topic :: System :: Hardware",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications :: SCADA",
"Topic :: System :: Networking",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.optional-dependencies]
# development dependency groups
dev = [
'black>=23.7.0',
'mypy>=1.4.1',
'pytest>=7.4.0',
'pytest-cov>=4.1.0',
'ruff>=0.0.283'
]
[tool.setuptools]
packages = ["pyS7"]
[tool.pytest.ini_options]
addopts = "--cov --cov-report=term-missing -vv"
testpaths = ["tests"]
[tool.coverage.run]
parallel = true
source = [
"pyS7",
"tests",
]
[tool.mypy]
strict = true
show_column_numbers = true
show_error_codes = true
pretty = true
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"C901", # too complex
"E501", # line too long, black handle it
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]