Files
azure-gpt-cursor/.cursor/rules/lint-after-edit.mdc
T
gabrii 8a87d0033b Squash everything befor release.
Some past commits might have contained Cursor's IP or accidentally
commited API keys. Before making the repository public, all the history
has been squashed into a single commit with.
2025-09-14 17:38:55 +02:00

20 lines
588 B
Plaintext

---
description:
globs:
alwaysApply: true
---
# Lint and Format After Edits
After finishing any big code changes, and before yielding to the user, run with your terminal tool the following comand:
```
source .venv/bin/activate && flask lint
```
This command will:
- Run **black** to automatically format the codebase.
- Run **flake8** to flag any remaining formatting or lint issues.
You don't need to preface it with /bin/bash -c, nor add | cat at the end. Just run it as is.
This ensures the codebase remains clean, consistent, and compliant with style guidelines after every edit.