Repository navigation
Expand file tree
/
Copy pathruff.toml
More file actions
38 lines (34 loc) · 1.55 KB
/
Copy pathruff.toml
File metadata and controls
38 lines (34 loc) · 1.55 KB
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
line-length = 130 # try 80 at a later time
lint.select = ["ALL"]
# We should re-enable these as we update the library.
lint.ignore = [
"ANN001", # Missing type annotation for function argument
"ANN201", # Missing return type annotation for public function
"ANN202", # Missing return type annotation for private function
"ANN204", # Missing return type annotation for special method
"COM812", # missing-trailing-comma
"CPY001", # Missing copyright notice at top of file
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring
"D203", # 1 blank line required before class docstring
"D205", # 1 blank line required between summary line and description
"D213", # incompatible. Ignoring `multi-line-summary-second-line`
"D400", # First line should end with a period
"D401", # First line of docstring should be in imperative mood
"D415", # First line should end with a period, question mark, or exclamation point
"ERA001", # Found commented-out code
"TRY003", # Avoid specifying long messages outside the exception class
]
[lint.extend-per-file-ignores]
"test_*.py" = [
"INP001", # File is part of an implicit namespace package
"PD901", # Avoid using the generic variable name `df` for DataFrames
"S101", # Use of assert detected
]
[lint.pycodestyle]
max-doc-length = 180