-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (62 loc) · 1.63 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
[build-system]
requires = [
"setuptools >= 65",
"setuptools_scm[toml] >= 6.2",
"wheel >= 0.29.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "epyscan"
dynamic = ["version"]
readme = "README.md"
license = { file = "LICENCE.md" }
authors = [
{ name = "Peter Hill", email = "[email protected]" },
{ name = "Joel Adams", email = "[email protected]" },
]
requires-python = ">=3.9"
dependencies = ["epydeck >= 1.0.0", "numpy >= 1.24", "scipy >= 1.10"]
description = "Create campaigns of EPOCH plasma PIC code runs over a given parameter space using various sampling methods."
[project.optional-dependencies]
docs = [
"sphinx >= 5.3",
"sphinx_autodoc_typehints >= 1.19",
"sphinx-book-theme >= 0.4.0rc1",
"sphinx-argparse-cli >= 1.10.0",
"sphinx-inline-tabs",
]
tests = ["pytest >= 3.3.0"]
lint = ["ruff"]
[tool.setuptools_scm]
write_to = "src/epyscan/_version.py"
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific
"SIM", # flake8-simplify
"UP", # pyupgrade
"YTT", # flake8-2020
"EXE", # flake8-executable
"NPY", # NumPy specific rules
"PD", # pandas-vet
]
ignore = [
"PLR2004", # magic-comparison
"B9", # flake8-bugbear opinionated warnings
]
[tool.uv]
cache-keys = [{ file = "pyproject.toml" }, { git = true }]