trivedi-vatsal/PyImportSync
Synchronize Python imports with requirements.txt - ensure all imports are properly declared
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| project-path | Path to the Python project directory (relative to repository root) | no | . |
| requirements-file | Path to requirements.txt file (relative to project-path) | no | requirements.txt |
| ignore-dirs | Comma-separated list of directories to ignore (in addition to defaults) | no | "" |
| fail-on-missing | Whether to fail the action if missing dependencies are found | no | true |
| output-file | Output file to save missing dependencies (optional) | no | "" |
| use-pipreqs | Whether to use pipreqs for additional dependency detection | no | true |
| respect-gitignore | Whether to respect .gitignore patterns when scanning files | no | true |
Outputs
| name | description |
|---|---|
| missing-dependencies | List of missing dependencies (newline-separated) |
| missing-count | Number of missing dependencies found |
| status | Status of the check (success, missing-deps, error) |