@@ -3,6 +3,7 @@ line-length = 80
33lint.select = [" ALL" ]
44
55lint.ignore = [
6+ " CPY001" , # Missing copyright notice at top of file
67 " D203" , # 1 blank line required before class docstring
78 " D205" , # 1 blank line required between summary line and description
89 " D213" , # incompatible. Ignoring `multi-line-summary-second-line`
@@ -20,13 +21,13 @@ lint.ignore = [
2021]
2122"test_*.py" = [
2223 " ANN001" , # Missing type annotation for function argument
24+ " ANN002" , # Missing type annotation for `*args`
25+ " ANN003" , # Missing type annotation for `**kwargs`
2326 " ANN201" , # Missing return type annotation for public function
2427 " ANN202" , # Missing return type annotation for private function
2528 " INP001" , # File is part of an implicit namespace package
2629 " PD901" , # Avoid using the generic variable name `df` for DataFrames
2730 " S101" , # Use of assert detected
28- " ANN002" , # Missing type annotation for `*args`
29- " ANN003" , # Missing type annotation for `**kwargs`
3031]
3132"ctd/extras.py" = [
3233 " ANN001" , # Missing type annotation for function argument
@@ -36,18 +37,18 @@ lint.ignore = [
3637# nbqa-ruff acts on converted .py so we cannot glob .ipynb :-/
3738# https://github.com/nbQA-dev/nbQA/issues/823
3839"notebooks/*" = [
39- " ANN001" , # Missing type annotation for function argument
40- " ANN201" , # Missing return type annotation for public function
41- " B018" , # Found useless expression. Either assign it to a variable or remove it
42- " D100" , # Missing docstring in public module
43- " D103" , # Missing docstring in public function
44- " E402" , # Module level import not at top of file
45- " FBT003" , # Boolean positional value in function call
46- " INP001" , # File is part of an implicit namespace package
47- " N816" , # Variable in global scope should not be mixedCase
48- " PD901" , # Avoid using the generic variable name `df` for DataFrames
49- " SLF001" , # Private member accessed
50- " T201" , # `print` found"
40+ " ANN001" , # Missing type annotation for function argument
41+ " ANN201" , # Missing return type annotation for public function
42+ " B018" , # Found useless expression. Either assign it to a variable or remove it
43+ " D100" , # Missing docstring in public module
44+ " D103" , # Missing docstring in public function
45+ " E402" , # Module level import not at top of file
46+ " FBT003" , # Boolean positional value in function call
47+ " INP001" , # File is part of an implicit namespace package
48+ " N816" , # Variable in global scope should not be mixedCase
49+ " PD901" , # Avoid using the generic variable name `df` for DataFrames
50+ " SLF001" , # Private member accessed
51+ " T201" , # `print` found"
5152]
5253[lint .pycodestyle ]
5354max-doc-length = 180
0 commit comments