feat(e2e): add import-linter infrastructure for e2e/ decomposition (#1940)#2008
Open
mvillmow wants to merge 1 commit into
Open
feat(e2e): add import-linter infrastructure for e2e/ decomposition (#1940)#2008mvillmow wants to merge 1 commit into
mvillmow wants to merge 1 commit into
Conversation
896c3db to
1f84974
Compare
…1940) Installs import-linter as a dev dependency, creates a .importlinter config with root_packages=scylla, adds a lint-imports pixi task, and wires it into the unit-tests CI job. No active bans yet — contracts tighten PR-by-PR as files move out of scylla.e2e (issue #1940 PR-A). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
1f84974 to
711b87f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
import-linter >=2.0,<3as a dev dependency inpixi.toml(resolves plan review finding F7 by includinggrimptransitively via import-linter).importlinterwithroot_packages = scylla; no active bans yet — contracts tighten PR-by-PR as files move out ofscylla.e2e(staged contract approach from §7 of plan)lint-importstask topixi.toml(pixi run lint-imports)pixi run lint-importsinto theunit-testsCI job in_required.ymlpixi.lockafter dependency addition (resolves plan review finding F8)tests/unit/e2e/test_import_linter_config.pyguarding the config infrastructureDivergences from plan noted
e2e → cli" butprogress.pystill importsscylla.cli, so that ban cannot be active untilprogress.pyis moved/deleted (future PR). Baseline starts with zero contracts — infrastructure only.grimpis included transitively byimport-linter; no separate entry needed.Verification
Closes #1940
🤖 Generated with Claude Code