forked from anazalea/pySankey
-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
84 lines (79 loc) · 2.07 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=66.1",
]
[project]
name = "pysankeybeta"
version = "1.4.2"
description = "Make simple, pretty Sankey Diagrams (Beta version)"
readme = "README.md"
license = { text = "GNU General Public License v3.0" }
authors = [
{ name = "Pierre Sassoulas", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"matplotlib>=2.1.0rc1",
"numpy>=1.16.5",
"pandas",
"seaborn>=0.8.1",
]
optional-dependencies.test = [
"coverage",
"coveralls",
"pre-commit",
"pylint>=2.14.5,<3.4",
"pytest-cov",
]
urls.Homepage = "https://github.com/pierre-sassoulas/pySankey"
[tool.ruff]
line-length = 88
src = [
"pysankey",
]
format.docstring-code-format = true
lint.select = [
"B", # bugbear
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PGH004", # pygrep-hooks - Use specific rule codes when using noqa
"PIE", # flake8-pie
"PLC", # pylint convention
"PLE", # pylint error
"PLR", # pylint refactor
"PLR1714", # Consider merging multiple comparisons
"PLW", # pylint warning
"PYI", # flake8-pyi
"RUF", # ruff
"T100", # flake8-debugger
"UP", # pyupgrade
"W", # pycodestyle
]
lint.ignore = [
"PLR0913", # Too many arguments in function definition
"PLR2004", # Magic value used in comparison
]
[tool.pylint.main]
# Good variable names which should always be accepted, separated by a comma
good-names = "i,j,k"
variable-naming-style = "camelCase"
argument-naming-style = "camelCase"
disable = [
"missing-docstring",
"invalid-name",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-locals",
]