Skip to content

Commit de395f3

Browse files
Apply Ruff formatting fixes
1 parent 3df9ed7 commit de395f3

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/ruff-lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ jobs:
2020
- name: Run Ruff check
2121
uses: astral-sh/ruff-action@v3
2222
with:
23-
python-version: "3.14" # Aligns with pyproject.toml
2423
args: check --output-format=github archipy
2524

2625
- name: Run Ruff format check
2726
uses: astral-sh/ruff-action@v3
2827
with:
29-
python-version: "3.14" # Aligns with pyproject.toml
3028
args: format --check archipy

archipy/helpers/decorators/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ def __getattr__(name: str) -> object:
8686
}
8787
except ImportError as e:
8888
raise ImportError(
89-
"SQLAlchemy decorators require the 'sqlalchemy' extra. "
90-
"Install with: pip install archipy[sqlalchemy]",
89+
"SQLAlchemy decorators require the 'sqlalchemy' extra. Install with: pip install archipy[sqlalchemy]",
9190
) from e
9291

9392
return _SQLAlchemyDecorators._cache[name]

archipy/helpers/utils/app_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ def setup_elastic_apm(app: FastAPI, config: BaseConfig) -> None:
188188
return
189189

190190
try:
191-
192191
from elasticapm.contrib.starlette import ElasticAPM, make_apm_client
193192

194193
apm_client = make_apm_client(config.ELASTIC_APM.model_dump())

0 commit comments

Comments
 (0)