-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
71 lines (60 loc) · 1.61 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
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm>=8",
]
build-backend = "setuptools.build_meta"
[project]
name = "tueplots"
authors = [
{name="Nicholas Krämer", email="[email protected]"}
]
description = "Scientific plotting made easy."
readme = "README.md"
requires-python=">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
dependencies = [
"matplotlib",
"numpy",
]
[project.optional-dependencies]
ci = ["tox"]
examples = ["jupyter"]
[tool.setuptools.packages.find]
where = ["."]
include = ["tueplots*"]
[tool.setuptools_scm]
version_file = "tueplots/_version.py"
[tool.isort]
multi_line_output = "3"
include_trailing_comma = "true"
force_grid_wrap = "0"
use_parentheses = "true"
line_length = "88"
profile = "black"
# Pylint configuration
[tool.pylint.master]
load-plugins = [
"pylint.extensions.docparams",
"pylint.extensions.docstyle",
]
ignore-paths = 'tueplots/_version.py'
[tool.pylint.messages_control]
disable = [
# Specific ignores
"invalid-name", # we name things the way we want.
"line-too-long", # black takes care of linebreaks itself. Long docs dont really matter.
"import-error", # caught by the tests, not by pylint.
"too-many-arguments", # e.g. figsize-configs tend to have many arguments, which is acceptable.
]
[tool.pylint.format]
max-line-length = "88"