forked from alexbjorling/lib-maxiv-regloicc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
89 lines (79 loc) · 2.11 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
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "ismatec"
version = "0.5.0"
description="Python driver for Ismatec Reglo ICC peristaltic pumps."
authors = [
{name = "Alex Ruddick", email = "[email protected]" },
]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)"
]
dependencies = [
"pyserial",
]
[project.optional-dependencies]
test = [
"mypy==1.13.*",
"pytest>=8,<9",
"pytest-cov",
"pytest-asyncio==0.24.0",
"pytest-xdist>=3,<4",
"ruff==0.7.*",
"types-pyserial",
]
[project.scripts]
ismatec = "ismatec:command_line"
[project.urls]
Homepage = "https://github.com/alexrudd2/ismatec"
Issues = "https://github.com/alexrudd2/ismatec/issues"
[tool.setuptools]
packages = ["ismatec"]
[tool.setuptools.package-data]
"ismatec" = ["py.typed"]
[tool.ruff]
extend-exclude = ["venv*"]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
ignore = [
"D104", # Missing docstring in public package
"D107", # Missing docstring in __init__
"SIM300" # Yoda condition
]
select = [
"B", # bandit
"C", # complexity
"D", # docstrings
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"PT", # flake8-pytest
"RUF", # ruff base config
"SIM", # flake-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
"YTT", # flake8-2020
# "ARG", # flake8-unused args
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.mypy]
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--cov=ismatec"
asyncio_mode = "auto"