Files
blog.pyaqa.ru/docs/development/codestyle.md
Sergey Vanyushkin 2e930ffbe5
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/type Pipeline was successful
ci/woodpecker/pr/comment_pr Pipeline was successful
feat: implement blog project with CI pipeline
2026-04-26 21:08:49 +03:00

602 B

Code Style

Linting & Formatting

# Run all linters
uv run ruff check . --fix
uv run ruff format .
uv run isort . --profile black --filter-files

# Type checking
uv run mypy .

Documentation

# Check docstring style
uv run pydocstyle app/

# Check documentation coverage
uv run interrogate app/ -v

# Build documentation
uv run mkdocs build

# Serve documentation locally
uv run mkdocs serve

Pre-commit Hooks

This project uses pre-commit hooks to ensure code quality:

  • ruff check
  • ruff format
  • isort
  • mypy

Install hooks:

uv run pre-commit install