docs: add blank line whitespace rule to AGENTS.md

Specify that blank lines must not contain any whitespace (spaces or tabs) to maintain code cleanliness and PEP 8 compliance
This commit is contained in:
2026-01-18 23:34:08 +01:00
parent 84cec29b5b
commit 4f136b91d0

View File

@@ -128,6 +128,7 @@ python manage.py runserver --noreload # With pyinstrument middleware
- **Long lines**: Use `# noqa: E501` comment when necessary (see settings.py) - **Long lines**: Use `# noqa: E501` comment when necessary (see settings.py)
- **Indentation**: 4 spaces (no tabs) - **Indentation**: 4 spaces (no tabs)
- **Encoding**: UTF-8 - **Encoding**: UTF-8
- **Blank lines**: Must not contain any whitespace (spaces or tabs)
### Import Organization ### Import Organization
Follow Django's import style (as seen in models.py, views.py, admin.py): Follow Django's import style (as seen in models.py, views.py, admin.py):