@@ -65,7 +65,57 @@ features = ["substrait"]
6565
6666#  Enable docstring linting using the google style guide
6767[tool .ruff .lint ]
68- select  = [" E4"  , " E7"  , " E9"  , " F"  , " FA"  , " D"  , " W"  , " I"  ]
68+ select  = [" ALL"   ]
69+ ignore  = [
70+     " A001"  ,    #  Allow using words like min as variable names
71+     " A002"  ,    #  Allow using words like filter as variable names
72+     " ANN401"  ,  #  Allow Any for wrapper classes
73+     " COM812"  ,  #  Recommended to ignore these rules when using with ruff-format
74+     " FIX002"  ,  #  Allow TODO lines - consider removing at some point
75+     " FBT001"  ,  #  Allow boolean positional args
76+     " FBT002"  ,  #  Allow boolean positional args
77+     " ISC001"  ,  #  Recommended to ignore these rules when using with ruff-format
78+     " SLF001"  ,  #  Allow accessing private members
79+     " TD002"  ,
80+     " TD003"  ,   #  Allow TODO lines
81+     " UP007"  ,   #  Disallowing Union is pedantic
82+     #  TODO: Enable all of the following, but this PR is getting too large already
83+     " PT001"  ,
84+     " ANN204"  ,
85+     " B008"  ,
86+     " EM101"  ,
87+     " PLR0913"  ,
88+     " PLR1714"  ,
89+     " ANN201"  ,
90+     " C400"  ,
91+     " TRY003"  ,
92+     " B904"  ,
93+     " UP006"  ,
94+     " RUF012"  ,
95+     " FBT003"  ,
96+     " C416"  ,
97+     " SIM102"  ,
98+     " PGH003"  ,
99+     " PLR2004"  ,
100+     " PERF401"  ,
101+     " PD901"  ,
102+     " EM102"  ,
103+     " ERA001"  ,
104+     " SIM108"  ,
105+     " ICN001"  ,
106+     " ANN001"  ,
107+     " ANN202"  ,
108+     " PTH"  ,
109+     " N812"  ,
110+     " INP001"  ,
111+     " DTZ007"  ,
112+     " PLW2901"  ,
113+     " RET503"  ,
114+     " RUF015"  ,
115+     " A005"  ,
116+     " TC001"  ,
117+     " UP035"  ,
118+ ]
69119
70120[tool .ruff .lint .pydocstyle ]
71121convention  = " google" 
@@ -75,16 +125,30 @@ max-doc-length = 88
75125
76126#  Disable docstring checking for these directories
77127[tool .ruff .lint .per-file-ignores ]
78- "python/tests/*"  = [" D"  ]
79- "examples/*"  = [" D"  , " W505"  ]
80- "dev/*"  = [" D"  ]
81- "benchmarks/*"  = [" D"  , " F"  ]
128+ "python/tests/*"  = [
129+     " ANN"  ,
130+     " ARG"  ,
131+     " BLE001"  ,
132+     " D"  ,
133+     " S101"  ,
134+     " SLF"  ,
135+     " PD"  ,
136+     " PLR2004"  ,
137+     " PT011"  ,
138+     " RUF015"  ,
139+     " S608"  ,
140+     " PLR0913"  ,
141+     " PT004"  ,
142+ ]
143+ "examples/*"  = [" D"  , " W505"  , " E501"  , " T201"  , " S101"  ]
144+ "dev/*"  = [" D"  , " E"  , " T"  , " S"  , " PLR"  , " C"  , " SIM"  , " UP"  , " EXE"  , " N817"  ]
145+ "benchmarks/*"  = [" D"  , " F"  , " T"  , " BLE"  , " FURB"  , " PLR"  , " E"  , " TD"  , " TRY"  , " S"  , " SIM"  , " EXE"  , " UP"  ]
82146"docs/*"  = [" D"  ]
83147
84148[dependency-groups ]
85149dev  = [
86150    " maturin>=1.8.1"  ,
87-     " numpy>1.24.4 ; python_full_version >= '3.10' "  ,
151+     " numpy>1.25.0 "  ,
88152    " pytest>=7.4.4"  ,
89153    " ruff>=0.9.1"  ,
90154    " toml>=0.10.2"  ,
0 commit comments