pavlo-kostyshyn/autofix-rules icon
public
Published on 6/3/2025
AutoFix Rules

Rules

๐Ÿ”ง Build & Development Commands

  • Always use python -m venv to create virtual environments.
  • Always install dependencies using pip install -r requirements.txt.
  • If docker-compose.yml is present, prefer containerized execution.

๐Ÿงช Testing Guidelines

  • All features must be covered with pytest-based unit tests.
  • Use assert expressions clearly, and test error conditions.
  • Prefer requests_mock or FastAPI TestClient for API endpoints.

๐ŸŽจ Code Style & Guidelines

  • Use black for formatting and ruff for linting.
  • Avoid wildcard imports and unused variables.
  • Class names should use CamelCase, functions โ€” snake_case.
  • Avoid deeply nested logic (max 3 levels).