File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ extend-select = [
261
261
" W" , # pycodestyle warnings
262
262
" PGH" , # pygrep-hooks
263
263
" PLE" , # Pylint Errors
264
+ " PLW" , # Pylint Warnings
264
265
" UP" , # pyupgrade
265
266
" FURB" , # refurb
266
267
" RUF" ,
@@ -276,6 +277,10 @@ ignore = [
276
277
" PERF203" , # try-except within a loop incurs performance overhead
277
278
" E402" , # module level import not at top of file
278
279
" E731" , # do not assign a lambda expression, use a def
280
+ " PLW0603" , # using the global statement to update is discouraged
281
+ " PLW0642" , # reassigned `self` variable in instance method
282
+ " PLW1641" , # object does not implement `__hash__` method
283
+ " PLW2901" , # `for` loop variable overwritten by assignment target
279
284
" UP007" , # use X | Y for type annotations
280
285
" FURB105" , # unnecessary empty string passed to `print`
281
286
" RUF001" , # string contains ambiguous unicode character
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def align_nd_chunks(
51
51
52
52
# The ideal size of the chunks is the maximum of the two; this would avoid
53
53
# that we use more memory than expected
54
- max_chunk = max (fixed_chunk , max ( var_chunks ) )
54
+ max_chunk = max (fixed_chunk , * var_chunks )
55
55
56
56
# The algorithm assumes that the chunks on this array are aligned except the last one
57
57
# because it can be considered a partial one
You can’t perform that action at this time.
0 commit comments