-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
107 lines (103 loc) · 1.53 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
[tool.ruff]
target-version = "py39"
lint.select = [
# flake8-bugbear
"B",
# flake8-comprehensions
"C4",
# pydocstyle
"D",
# Error
"E",
# pyflakes
"F",
# isort
"I",
# flake8-implicit-str-concat
"ISC",
# pep8-naming
"N",
# pygrep-hooks
"PGH",
# flake8-pytest-style
"PT",
# flake8-use-pathlib
"PTH",
# flake8-quotes
"Q",
# bandit
"S",
# flake8-simplify
"SIM",
# flake8-print
"T20",
# tryceratops
"TRY",
# pyupgrade
"UP",
# Warning
"W",
# flake8-2020
"YTT",
# flake8-debugger
"T10",
# flake8-gettext
"INT",
# pylint
"PLC",
"PLE",
"PLR",
"PLW",
# misc lints
"PIE",
# flake8-pyi
"PYI",
# tidy imports
"TID",
# type-checking imports
"TCH",
# Ruff-specific rules
"RUF",
]
exclude = [
"__pycache__",
".nox",
]
lint.ignore = [
"D103",
"D105",
"E501",
"PLR2004",
"PLR0913",
"PGH003",
# conflict with run-formatter
"ISC001",
# print statements
"T201",
# pickle
"S301",
# long msg to exceptions
"TRY003",
# avoid lambda
"E731",
]
lint.extend-safe-fixes = [
# absolute imports
"TID252",
]
line-length = 100
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
known-first-party = [
"async_retriever",
"pygeoogc",
"pygeoutils",
"pynhd",
"py3dep",
"hydrosignatures",
"pygeohydro",
"pydaymet",
"pygridmet",
"pynldas2",
]