-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (54 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
66 lines (54 loc) · 1.54 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
[project]
name = "muse2_data_analysis"
dynamic = ["version"]
description = "Python scripts and Jupyter notebooks for analysing and visualising MUSE2 data files."
authors = [
{name = "Alex Dewar", email = "a.dewar@imperial.ac.uk"},
{name = "Imperial College London RSE Team", email = "ict-rse-team@imperial.ac.uk"},
]
requires-python = ">=3.14"
dependencies = ["matplotlib>=3.10.8", "notebook>=7.5.2", "pandas>=3.0.0"]
[dependency-groups]
dev = [
"ruff>=0.14.13",
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-mock>=3.15.1",
]
[tool.mypy]
disallow_any_explicit = true
disallow_any_generics = true
warn_unreachable = true
warn_unused_ignores = true
disallow_untyped_defs = true
exclude = [".venv/", "docs/"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.pytest.ini_options]
addopts = "-v -p no:warnings --cov=muse2_data_analysis --cov-branch --cov-report=html --cov-report=xml --doctest-modules --ignore=docs/"
[tool.ruff]
target-version = "py314"
[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"UP", # pyupgrade
"RUF", # ruff
]
pydocstyle.convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
]
[build-system]
requires = ["setuptools>=78", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["muse2_data_analysis"]
[tool.setuptools_scm]