-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
53 lines (44 loc) · 1.08 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name="cbx"
version="0.1.6"
authors = [
{name = "Tim Roith", email = "[email protected]"},
]
description="CBXpy"
dependencies = [
'numpy',
'scipy',
'matplotlib'
]
readme = "README.md"
requires-python = ">3.5.2"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
[project.optional-dependencies] # Optional dependencies
test = [
'pytest',
'torch'
]
torch = [
'torch',
]
[tool.setuptools]
packages = ['cbx', 'cbx.dynamics', 'cbx.utils']
[tool.ruff]
# Enable flake8-bugbear (`B`) rules.
select = ["E", "F", "B"]
# Never enforce `E501` (line length violations).
ignore = ["E501"]
# Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402"]
"path/to/file.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]