forked from Project-OSmOSE/OSEkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
executable file
·74 lines (68 loc) · 2.03 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
[tool.poetry]
name = "osmose"
version = "0.2.5"
description = "OSmOSE toolkit"
authors = ["OSmOSE team"]
readme = "README.md"
packages = [
{ include = "OSmOSE", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.10"
sphinx = ">=7.0.0,<8.0.0"
sphinx-rtd-theme = "^2.0.0"
sphinx-copybutton = "^0.5.2"
myst-parser = "^4.0.0"
soundfile = "^0.12.1"
pandas = "^2.2.2"
coverage = "^7.0.5"
tqdm = "^4.64.1"
tomlkit = "^0.11.6"
matplotlib = "^3.9.0"
tomli = "^2.0.1"
numpy = "^1.24.2"
scipy = {version = "^1.10.1", python = ">=3.10,<3.12"}
termcolor = "^2.2.0"
filelock = "^3.10.2"
seaborn = "^0.12.2"
netcdf4 = "^1.6.4"
pykdtree = "^1.3.9"
cdsapi = "^0.7.2"
librosa = "^0.10.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
black = "^24.4.2"
pytest-cov = "^4.0.0"
jupyter = "^1.0.0"
ruff = "^0.7.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
filterwarnings = [
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
"ignore:pkg_resources.declare_namespace('sphinxcontrib'):DeprecationWarning",
"error::SyntaxWarning"
]
markers = [
"unit: Mark test as unitary test. Run only these with '-m unit'.",
"integ: Mark test as integration test. Run only these with '-m integ'.",
"reg: Mark test as regression test. Run only these with '-m ref'.",
"allow_log_write_to_file: Disables the automatic patch_filehandlers fixture that prevents logging handlers to write into files."
]
[tool.ruff]
select = ["ALL"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = [
# at least this three should be fine in tests:
"S101", # asserts allowed in tests...
"ARG", # Unused function args -> fixtures nevertheless are functionally relevant...
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
"D", # Docstring-related stuff
"SLF001", # Access to private variables
"BLE001", # Blind exceptions
"PLR0913", # Too many arguments in methods
]