er-model / .cursor /rules /code_quality.yml
malcolmSQ
Initial commit: ER model for Nigeria mangroves
fe152d4
raw
history blame contribute delete
554 Bytes
name: Code Quality Standards
description: Enforces code style and quality standards for the ER model project
events:
- before_save
- before_commit
actions:
- name: Format with black
command: black {file}
shell: true
continue_on_error: true
- name: Sort imports
command: isort {file}
shell: true
continue_on_error: true
- name: Check type hints
command: mypy {file}
shell: true
continue_on_error: true
globs:
- "**/*.py"
exclude:
- "**/venv/**"
- "**/.env/**"
- "**/build/**"
- "**/dist/**"