-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
35 lines (33 loc) · 1.07 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
[build-system]
# Minimum requirements for the build system to execute
requires = [
"Cython>=0.28",
"packaging",
# numpy requirement for wheel builds for distribution on PyPI - building
# against 2.x yields wheels that are also compatible with numpy 1.x at
# runtime.
# Note that building against numpy 1.x works fine too - users and
# redistributors can do this by installing the numpy version they like and
# disabling build isolation.
"numpy<2.0.0",
# Set to minimum version of setuptools that allows pyproject.toml
"setuptools >= 40.9.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.pyright]
venvPath = '.'
venv = ".venv" # Path to your virtual environment (relative to pyproject.toml)
include = ["src/main"]
[tool.pytest.ini_options]
addopts = '''
--durations=5
'''
# Warning Configuration
filterwarnings = [
"error", # Treat all warnings as errors
"ignore:lib2to3:PendingDeprecationWarning",
"ignore::ImportWarning",
"ignore:Using or importing the ABCs:DeprecationWarning",
"ignore:::MDAnalysis",
]