forked from numat/alicat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (79 loc) · 2.05 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
90
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "alicat"
version = "0.8.0"
description="Python driver for Alicat mass flow controllers."
dependencies = [
"pyserial",
]
authors = [
{name = "Pat Fuller", email = "[email protected]" },
]
maintainers = [
{name = "Alex Ruddick", email = "[email protected]" }
]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"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",
]
[project.optional-dependencies]
test = [
'mypy==1.15.0',
'pytest>=8,<9',
'pytest-cov>=6,<7',
'pytest-asyncio>=0.23.5',
'pytest-xdist>=3,<4',
'ruff==0.9.4',
'types-pyserial'
]
[project.scripts]
alicat = "alicat:command_line"
[project.urls]
Homepage = "https://github.com/alexrudd2/alicat"
Issues = "https://github.com/alexrudd2/alicat/issues"
[tool.setuptools]
packages = ["alicat"]
[tool.ruff]
extend-exclude = ["venv*"]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
ignore = [
"C901", # complexity
"D104", # Missing docstring in public package
"D107", # Missing docstring in __init__
]
select = [
"B", # flake8-bugbear
"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]
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--cov=alicat"
asyncio_mode = "auto"