-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (90 loc) · 2.45 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (90 loc) · 2.45 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = [
"setuptools >= 61.0.0",
"setuptools_scm[toml] >= 6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "boutdata"
description = "Python package for collecting BOUT++ data"
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = [
"bout++",
"bout",
"plasma",
"physics",
"data-extraction",
"data-analysis",
"data-visualization",
]
license = "LGPL-3.0-or-later"
authors = [{name = "Ben Dudson", email = "benjamin.dudson@york.ac.uk"}, {name = "BOUT++ team"}]
urls = {project = "https://github.com/boutproject/boutdata"}
dependencies = [
"sympy>=1.5.1",
"numpy >= 1.26.0",
"matplotlib >= 3.8.0",
"natsort>=8.1.0",
"scipy >= 1.12.0",
"netCDF4",
]
dynamic = ["version"]
[project.optional-dependencies]
tests = [
"pytest",
]
docs = [
"sphinx>=3.4,<5",
]
lint = [
"ruff"
]
[project.scripts]
bout-squashoutput = "boutdata.scripts.bout_squashoutput:main"
bout-upgrader = "boutupgrader:main"
[tool.setuptools.dynamic]
version = { attr = "setuptools_scm.get_version" }
[tool.setuptools_scm]
write_to = "src/boutdata/_version.py"
[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
# "FURB", # refurb
]
ignore = [
"PLR2004", # magic-comparison
# "B9", # flake8-bugbear opinionated warnings
# "PLC0414", # useless-import-alias
"PLR0913", # too-many-arguments
"PLR0917", # too-many-positional
"PLR0914", # too-many-locals
"PLR0915", # too-many-statements
"PLR0912", # too-many-branches
"PTH123", # builtin-open
]