forked from FusionDLS/FusionDLS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
121 lines (108 loc) · 2.89 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "FusionDLS"
description = "1D model for evaluating heat flux in tokamak SOL"
readme = "README.md"
authors = [
{name = "Cyd Cowley"},
{name = "Mike Kryjak"},
]
license = {text = "LGPL-3.0-or-later"}
dynamic = ["version"]
keywords = ["analysis", "plasma", "research"]
classifiers = [
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">=3.10"
dependencies = [
"numpy >= 1.23",
"matplotlib >= 3.3.4",
"scipy >= 1.10.1",
"netCDF4 >= 1.5.6",
"freeqdsk >= 0.3",
"pandas"
]
[project.optional-dependencies]
docs = [
"sphinx >= 5.3",
"sphinx_autodoc_typehints >= 1.19",
"sphinx-book-theme >= 0.4.0rc1",
"myst_nb",
]
tests = [
"pytest >= 3.3.0",
"pytest-cov",
]
linting = [
"black",
"isort",
"ruff",
]
[project.urls]
Source = "https://github.com/cydcowley/DLS-model"
Tracker = "https://github.com/cydcowley/DLS-model/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/fusiondls/_version.py"
[tool.coverage.paths]
source = [
"src/",
]
[tool.black]
extend_exclude = "_version.py"
[tool.isort]
profile = "black"
[tool.ruff]
extend-include = ["*.ipynb"]
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
"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
]
[[tool.mypy.overrides]]
module = "scipy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "netCDF4"
ignore_missing_imports = true