forked from PhilNad/2f85-python-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (125 loc) · 3.01 KB
/
Copy pathpyproject.toml
File metadata and controls
143 lines (125 loc) · 3.01 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "robotiq2f"
version = "0.2.0"
description = "Robotiq 2F-85 gripper driver for Python: a simple, ROS-free, pure-Python driver for the Robotiq 2F-85 (2F85) two-finger adaptive gripper."
dependencies = [
"minimalmodbus>=2.1",
]
readme = "README.md"
maintainers = [{ name = "Tobias Juelg", email = "tobiasj@allenai.org" }]
authors = [
{ name = "Philippe Nadeau", email = "philippe.nadeau@robotics.utias.utoronto.ca" },
{ name = "Tobias Juelg", email = "tobiasj@allenai.org" },
]
requires-python = ">=3.10"
license = "MIT"
keywords = [
"robotiq",
"robotiq-2f-85",
"2f-85",
"2f85",
"robotiq-2f",
"gripper",
"robot-gripper",
"two-finger-gripper",
"adaptive-gripper",
"modbus",
"modbus-rtu",
"robotics",
"driver",
]
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering",
"Topic :: System :: Hardware :: Hardware Drivers",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["robotiq2f*"]
[project.urls]
Homepage = "https://github.com/RobotControlStack/robotiq2f"
Issues = "https://github.com/RobotControlStack/robotiq2f/issues"
[dependency-groups]
dev = [
"ruff",
"black",
"isort",
"mypy",
"build",
"pytest",
"commitizen",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
fixable = ["ALL"]
extend-select = [
"B", # flake8-bugbear
# "I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
# "PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific
"SIM", # flake8-simplify
"T20", # flake8-print
# "UP", # pyupgrade
"YTT", # flake8-2020
"EXE", # flake8-executable
]
ignore = [
"PLR09", # Too many X
"PLR2004", # Magic comparison
"E741", # ambiguous variable name
"PGH003", # Use specfic rule code when ignoring types issues
"T201", # print() used
]
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
"C",
"R",
"fixme",
"logging-fstring-interpolation",
"unspecified-encoding",
"broad-exception-raised",
"broad-exception-caught",
]
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.isort]
profile = "black"
known_first_party = ["robotiq2f"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
pretty = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv"
testpaths = ["src/tests"]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "pep440"
version_provider = "pep621"
update_changelog_on_bump = true
major_version_zero = true
version_files = [
"src/robotiq2f/__init__.py:__version__",
]