mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2026-08-17 00:42:49 +01:00
Uwsgi (#1)
* Update devenv * Added uv for python package management * Clean up gunicorn config artifacts * Scaffolded site * Fixed configuration for 13.0 * Added iform config/theme * Added agent contracts to allow for more automation of work in repo * Added a local rebuild command to justfile for development * Fixed deployment persistence issues * Site polish and deployment streamlining * Updated justfile to include production deployment commands * Fixed deployment bugs * Fixed local test commands
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
---
|
||||
description: "Strict LSP and syntax validation rules."
|
||||
globs: ["**/*.py"]
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Python Validation & Editing Rules
|
||||
|
||||
- **Mandatory Planning:** Before modifying any files, you must outline the files
|
||||
you intend to touch.
|
||||
- **LSP Checking:** After editing or removing boilerplate, you MUST query the
|
||||
LSP server (e.g., ruff) to check for broken references, undefined variables,
|
||||
or unused imports.
|
||||
- **Zero Warnings:** The file is not considered "clean" until the LSP returns
|
||||
zero warnings for the section you modified.
|
||||
- **Revert on Failure:** If your cleanup causes cascading errors in other files,
|
||||
revert your change and ask the user how they want to proceed.
|
||||
Reference in New Issue
Block a user