-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
73 lines (65 loc) · 1.83 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
[project]
name = "post-processing"
version = "0.2.0"
description = "This repository is used to process passive acoustic data particularly marine mammals automatic detections and manual annotations according to OSmOSE project format."
authors = [
{name = "OSmOSE", email = "osmose@ensta-bretagne.fr"}
]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"osekit>=1.0.0",
"astral >=3.2",
"easygui >=0.98.3",
"matplotlib >=3.10.1",
"numpy >=1.24.2",
"pandas >=2.2.3",
"pypamguard >= 1.0.0",
"pytz >=2025.1",
"pyyaml >=6.0.2",
"scipy >=1.15.2",
"seaborn >=0.12.2",
"soundfile >=0.12.1",
"tqdm >=4.67.1",
"gpxpy >=1.6.2",
"notebook>=7.4.5",
]
[dependency-groups]
dev = [
"pytest",
"myst-nb>=1.3.0",
"notebook >=7.4.4",
"setuptools <66.2",
"ruff>=0.11.10",
"sphinx>=8.2.3",
"sphinx-book-theme>=1.1.4",
"sphinx-copybutton>=0.5.2",
"coverage>=7.11.0",
"pre-commit>=4.5.1",
]
[tool.ruff.lint.flake8-copyright]
author = "OSmOSE"
[tool.ruff.lint]
select = ["ALL"]
preview = true
[tool.ruff.format]
preview = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff.lint.extend-per-file-ignores]
"src/**/*.py" = [
"CPY001", # no copyright at top of file
"DOC201", # no return in function docstring
"DOC501", # no raised exceptions in docstring
]
"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
]