-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
148 lines (129 loc) · 3.24 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
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
144
145
#--------------------------- setuptools -----------------------------
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pylabrobot_sila_bridge"
version = "0.0.1"
readme = "README.md"
authors =[{name = "mark doerr", email = "mark.doerr@uni-greifswald.de"}]
description="PyLabRobot to SiLA bridge."
license = {text = "MIT"}
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry'
]
dependencies = []
# use MANIFEST.in to include non-python files !
#packages = [
# { include = "pylabrobot_sila_bridge" },
#]
# uncomment to enable commandline access of the module via its name from anywhere
#[project.scripts]
#pylabrobot_sila_bridge = "pylabrobot_sila_bridge.__main__:main"
[project.optional-dependencies]
dev = [
"pytest>=7.3",
"pytest-cov>=2.12",
"pytest-xdist>=2.0",
"coverage>=7.2",
"tox>=4.5",
"safety>=1.0",
"bandit>=1.0",
#"flake8>=3.0",
"pytest-cov",
"pyproject-flake8",
#"flake8-bugbear>=20.0",
"black>=20.0",
"isort>=5.0",
"mypy>=0.0",
"pylint>=2.0",
"invoke>=2.1",
"bumpversion>=0.6",
#"types-requests>=0.0",
#"pre-commit>=2.0", # https://pre-commit.com/
]
test = [
"pytest>=7.3",
"pytest-cov>=2.12",
"pytest-xdist>=2.0",
"coverage>=7.2",
"tox>=4.5",
"safety>=1.0",
"bandit>=1.0",
"flake8>=3.0",
#"flake8-bugbear>=20.0",
"black>=20.0",
"isort>=5.0",
"mypy>=0.0",
"pylint>=2.0",
#"types-requests>=0.0",
]
docs = [
"sphinx>=7.0",
"python-docs-theme>=2023.3",
"myst-parser>=1.0",
#"types-requests>=0.0",
]
[project.urls]
"Homepage" = "https://gitlab.com/opensourcelab/pylabrobot-sila-bridge"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-v",
#"-n=auto",
]
filterwarnings = [
# https://github.com/pypa/pip/issues/11975
"ignore:.*pkg_resources.*:DeprecationWarning",
]
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
skip = [
"venv",
]
[tool.flake8]
max-line-length = 120
extend-ignore = "E203,E501,W293"
exclude = [
"venv",
]
[tool.bandit]
exclude_dirs = ["tests"]
skips = ["B101"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"@abstractmethod",
"@abc.abstractmethod",
"def __repr__(self):",
# re-enable the standard pragma
"pragma: no cover",
"raise NotImplementedError",
"if TYPE_CHECKING",
]
skip_empty = true
omit = [
"setup.py",
# auto-generated by grpcio_tools.protoc
"*_pb2.py",
# will be copied to the server, so this source code is never executed
]
precision = 2
# end setuptools