-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·81 lines (73 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
executable file
·81 lines (73 loc) · 2.07 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
74
75
76
77
78
79
80
81
[project]
name = "osekit"
version = "1.0.1"
description = "OSEkit"
readme = "README.md"
license = "MIT"
authors = [
{ name = "OSmOSE team", email = "osmose@ensta-bretagne.fr" }
]
requires-python = ">=3.12"
dependencies = [
"matplotlib>=3.10.7",
"notebook>=7.4.4",
"numpy>=2.2.6",
"pandas>=2.2.3",
"pytest>=8.3.5",
"pytz>=2025.2",
"pyyaml>=6.0.2",
"scipy>=1.15.3",
"soundfile>=0.13.1",
"soxr>=0.5.0.post1",
"tqdm>=4.67.1",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.scripts]
OSEkit = "OSmOSE:main"
[project.optional-dependencies]
mseed = [
"obspy",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"coverage>=7.8.2",
"coveralls>=4.0.1",
"myst-nb>=1.3.0",
"myst-parser>=4.0.1",
"pre-commit>=4.2.0",
"ruff>=0.11.10",
"sphinx>=8.2.3",
"sphinx-book-theme>=1.1.4",
"sphinx-copybutton>=0.5.2",
"twine>=6.1.0",
]
[tool.ruff]
lint.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
]
"docs/source/*.ipynb" = [
"E402", # Module level import not at top of cell in doc notebooks
]
[tool.pytest.ini_options]
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."
]