Skip to content

Repository hygiene

Code imports a file git ignores (missing on deploy)launch.import-gitignored-file

An import resolves to a file that exists on your disk but matches a .gitignore rule (often `lib/` from a Python template), so it was never committed and the build server fails with "Module not found". Files a build step generates are not reported.

  • In force Rule launch.import-gitignored-file
  • 3 clauses

At a glance

launch.import-gitignored-file
Severitymedium
CertaintyNeeds review — a heuristic; confirm before changing code
Looks atyour git history
When it runsRuns on every scan

How to fix it

Narrow or anchor the ignore rule (or add a `!path` exception), then git add the file and commit.

Check your own app

Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line launch.import-gitignored-file -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.