Skip to content

Commit b9ba8a8

Browse files
committed
style sweep (geotiff): re-sweep 2026-07-02, flake8/isort clean, no findings
1 parent 624d565 commit b9ba8a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.claude/sweep-style-state.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dasymetric,2026-06-20,3411,HIGH,1;3;4,"F401 is_dask_cupy unused (HIGH); E128 lin
77
diffusion,2026-06-20,3421,HIGH,3;4,F401 unused not_implemented_func (HIGH); isort import-ordering drift (MEDIUM); no Cat1/2/5. Fixed in PR off issue 3421.
88
fire,2026-06-19,3395,HIGH,3;4,Cat3 F401 math.log unused + F841 S_T unused local; Cat4 isort utils import reorder. No Cat1/2/5. Fixed in #3395 rockout.
99
focal,2026-05-29,2731,HIGH,3;4;5,"F401 not_implemented_func (import line 36, unused, not re-exported). isort: stdlib reorder (import math before from-imports), dropped stray blank lines in import groups, alphabetised+rewrapped convolution/utils from-imports, moved dataset_support import into order. Cat 5: mutable default excludes=[np.nan] in mean() (line 238) -> None sentinel, resolved to [np.nan] in body; never mutated so behaviour preserved; regression test test_mean_default_excludes_does_not_leak added. Cat 1/2 clean. 115 focal tests pass. PR pending."
10-
geotiff,2026-07-01,3588,MEDIUM,4,"Re-sweep 2026-07-01. flake8 baseline 0 across subpackage (36 source files + tests). Cat 4 only: isort drift in _writers/eager.py (missing blank line after inline resolve_ramp import) and tests/write/test_symbology_sidecar_3537.py (parenthesized import joins to one line at 100 cols + blank line after inline cupy import); both introduced by #3537 symbology work. Cat 1/2/3/5 clean (shadow-grep hits are annotations, getaddrinfo type= kwarg, and QML XML strings - false positives). Fixed by running isort on the two files; flake8+isort clean after; 25 symbology tests pass (CUDA available). Issue #3588; PR from deep-sweep-style-geotiff-2026-07-01."
10+
geotiff,2026-07-02,,,,"Re-sweep 2026-07-02 (deep-sweep). flake8 baseline 0 and isort clean across all 29 source files (setup.cfg max-line-length=100, isort line_length=100). Cat 1/2/3/4 all clean. Cat 5 grep clean: no bare except, no mutable defaults, no ==None/True/False in code; shadow-grep hits are type annotations (seen: list, attrs: dict), the getaddrinfo type= kwarg in _sources.py, and QML/XML template strings in _symbology.py - all false positives. Prior #3537 isort drift already fixed (see 2026-07-01 row / #3588). No findings; no /rockout."
1111
hydro-d8,2026-05-29,2705,HIGH,1;3;4,"flake8+isort over the 13 D8 files only (dinf/mfd out of scope). Cat 3 HIGH: F401 x2 (flow_length_d8 function-local _compute_accum_seeds never called; snap_pour_point_d8 module-level cuda_args unused) - both confirmed dead, no re-export. Cat 1: E127/E128 continuation-indent x90 (mostly multi-line def signatures); E302/E303 blank-line cluster in watershed_d8; E501 x4 (flow_path_d8 + snap_pour_point_d8, wrapped ternaries). Cat 4: isort import-block reordering on all 13 files. No Cat 2 (W-codes), no Cat 5 (grep clean: no bare except, mutable defaults, ==None/==True, or shadowed builtins). flake8+isort clean after fix; 385 D8 tests pass. flow_direction_d8 needed manual blank-line placement to satisfy both isort and E302."
1212
interpolate,2026-06-12,3286,HIGH,3;4,"Full subpackage sweep (_idw, _kriging, _spline, _validation). Cat 3 F401: unused 'import math' in _idw.py L5 (IDW kernels are pure arithmetic; _spline.py keeps math for math.log in TPS kernels; not re-exported, __init__ exports only idw/kriging/spline). Cat 4 isort: _idw.py + _spline.py 5-line xrspatial.utils from-import reflowed to 2 lines under line_length=100, matching _kriging.py from #2916. Cat 1/2/5 clean (no E/W codes; grep: no bare except, mutable defaults, ==None/True, shadowed builtins). flake8+isort clean after fix; 66 interpolation tests pass (CUDA available). PR open."
1313
interpolate-kriging,2026-06-04,2916,MEDIUM,1;4,"flake8 E128 x2: continuation-line under-indent at the _chunk_var kriging-predict calls in _kriging_dask_numpy (L234) and _kriging_dask_cupy (L324); re-indented to visual-indent column. Cat 4 isort: 5-line from xrspatial.utils (...) block collapses to one 88-char line under line_length=100. Cat 2/3/5 grep clean (no W-codes, F-codes, bare except, mutable defaults, ==None/True, or shadowed builtins). flake8+isort clean after fix; 14 kriging tests pass. PR open."

0 commit comments

Comments
 (0)