Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
pyproject.toml
uv.lock
- name: Install Dependencies
run: uv sync --locked
run: uv sync --locked --extra standard
- name: Run prek - pre-commit
id: precommit
run: uvx prek run --from-ref origin/${GITHUB_BASE_REF} --to-ref HEAD --show-diff-on-failure
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ repos:
require_serial: true
language: unsupported
types: [python]

- id: local-mypy
name: mypy check
entry: uv run mypy src tests
require_serial: true
language: unsupported
pass_filenames: false
3 changes: 2 additions & 1 deletion tests/test_utils_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
from logging.config import dictConfig

from pytest import LogCaptureFixture

Expand Down Expand Up @@ -63,7 +64,7 @@ def test_log_config_does_not_disable_existing_loggers(
logger1.setLevel(logging.INFO)
logger1.info("Message before configuration")

logging.config.dictConfig(get_uvicorn_log_config())
dictConfig(get_uvicorn_log_config())

logger2 = logging.getLogger(__name__)

Expand Down