diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a7701d..1f2d22e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: language_version: python3.11 - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.213' + rev: 'v0.0.216' hooks: - id: ruff args: ["--force-exclude"] diff --git a/pyproject.toml b/pyproject.toml index 4f0df37..f9c1c08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,6 +57,7 @@ max-complexity = 15 [tool.ruff.isort] known-first-party = ["core", "app"] +force-sort-within-sections = true # only_sections = true # force_sort_within_sections = true diff --git a/src/core/app.py b/src/core/app.py index 1e0fed0..d6cb477 100644 --- a/src/core/app.py +++ b/src/core/app.py @@ -1,5 +1,5 @@ -import sentry_sdk from fastapi import FastAPI +import sentry_sdk from app.views import router from core.config import env_config