IEFS001: package_location¶
The package exists at
Category: file_structure ยท Applies to: eval, helper
What it does¶
Checks that the directory named on the command line, or found under source-root, is a Python package. Every other rule depends on this one and does not run when it does not hold.
Why is this bad?¶
A directory that exists but has no __init__.py is documentation or data, not code: a README left where evaluations used to live, a fixtures folder. It is reported as a skip rather than a failure, and the same test keeps it out of --all discovery, so it needs no configuration.
Example¶
src/inspect_evals/gdm_capabilities/README.md # skipped: not a package
src/inspect_evals/gpqa/__init__.py # linted
Suppress on a line with # inspect-evals-lint: ignore[IEFS001] or ignore[package_location]; select or ignore it in configuration by either, or by the prefix IEFS.