-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
69 lines (52 loc) · 1.48 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
# Project information
[project]
name = "xplt"
description = "Plotting for Xsuite"
readme = "README.md"
keywords = ["python"]
license = {file = "LICENSE"}
authors = [
{ name = "Philipp Niedermayer (github.com/eltos)", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Framework :: Matplotlib",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.9"
dependencies = [
"matplotlib>=3.6",
"numpy>=1.17.0",
"scipy>=1.2.0",
"pint>=0.24.1",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/eltos/xplt"
documentation = "https://xsuite.github.io/xplt"
repository = "https://github.com/xsuite/xplt"
[project.optional-dependencies]
all = ["pandas"]
# Build tools
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "xplt.__version__"}
[tool.setuptools]
packages = ['xplt']
# Dev tools
[tool.black]
line-length = 98
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.pylint.main]
load-plugins = "pylint.extensions.docparams"
disable = "all"
enable = ["parameter_documentation"]
[tool.pylint.parameter_documentation]
default-docstring-type = "google"
[tool.pylint.basic]
no-docstring-rgx = "^(?!.*)_" # also check private and magic methods "^(?!__init__$)_"