-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (64 loc) · 1.21 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"numpy>=1.10.0",
"pybind11>=2.0",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
# pycodestyle - missing docstring
"D",
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# pandas-vet
"PD",
# Pylint
"PL",
# ALL
# "ALL",
]
ignore = [
# Relax the convention by _not_ requiring documentation for every function
# parameter.
"D417",
# Missing docstring in `__init__`
"D107",
# Missing docstring in public method
"D102",
# Missing docstring in magic method
"D105",
# Use `.to_numpy()` instead of `.values`
"PD011",
# Annotation
"ANN",
# `print` found
"T201",
# Trailing comma missing
"COM812",
# Magic value used in comparison
"PLR2004",
# Too many return statements
"PLR0911",
# Use a context manager for opening files
"SIM115",
# Too many arguments in function definition
"PLR0913",
# Too many statements
"PLR0915",
]
[tool.ruff.lint.pydocstyle]
convention = "google"