mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 11:26:34 +00:00
Update Dockerfile for multi-platform support and enhance nginx registry script with volume and environment variable configurations
This commit is contained in:
@@ -8,7 +8,6 @@ globs: ["**/*.py", "**/pyproject.toml", "**/requirements*.txt"]
|
||||
- Use type hints on all function signatures; validate with `mypy` or `pyright`
|
||||
- Use `pydantic` for data validation and serialization
|
||||
- Import order: stdlib -> third-party -> local; use absolute imports
|
||||
- Use `src/` layout to separate app code from project files
|
||||
- Use context managers (`with`) for resource management
|
||||
- Catch specific exceptions, never bare `except:`; use custom exception classes
|
||||
- Use `async`/`await` with `asyncio` for I/O-bound concurrency
|
||||
|
||||
Reference in New Issue
Block a user