Skip to main content

cirron lint

Comprehensive project validation and code quality checking for ML projects: analyzes structure, configuration, dependencies, and code to surface issues and best-practice violations.

Usage

Options

Validation Rules

Automatic Fixes

--fix resolves: missing ML directories (created), missing .cirronignore (generated from a template), ESLint auto-fixable code issues, and basic structural reorganization. The generated .cirronignore template covers .git/, large data files (data/raw/, *.csv), model artifacts (*.pth, *.pkl), dev caches (.vscode/, .idea/, __pycache__/, *.pyc), logs, temp files, and build outputs.

Examples

Example output:
JSON output:

Integration

Troubleshooting

Use .cirronignore to exclude large data and model artifacts from linting. Pin dependency versions for reproducible builds and follow framework conventions in src/model.py.