mirror of
https://github.com/reconurge/flowsint.git
synced 2026-11-08 14:35:41 -06:00
Without known_first_party, isort's own-package detection depends on which files it's given: sorted alone, a file inside flowsint_enrichers gets flowsint_enrichers imports grouped separately from flowsint_core/ flowsint_types; sorted together with the rest of the workspace (as `make lint` and CI do), they collapse into one group. lint-staged only ever passes the staged subset, so a commit could pass the pre-commit hook locally and still fail `make lint` in CI — silently, since both are "isort says it's fine," just about different file sets. Pin the four packages as known_first_party in all four pyproject.toml so grouping is the same regardless of invocation scope. The rest of the diff is isort re-normalizing ~100 files to the now-consistent order — import statements only, verified against the diff.