Skip to content
Closed
Changes from 1 commit
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 src/sync_with_uv/sync_with_uv.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""sync-with-uv: Sync '.pre-commit-config.yaml' from 'uv.lock'."""

import re
from pathlib import Path
from pathlib import Path

import tomli

from sync_with_uv.repo_data import repo_to_package, repo_to_version_template

Check failure on line 8 in src/sync_with_uv/sync_with_uv.py

View workflow job for this annotation

GitHub Actions / ruff-check

Ruff (I001)

src/sync_with_uv/sync_with_uv.py:3:1: I001 Import block is un-sorted or un-formatted


def load_uv_lock(filename: Path) -> dict[str, str]:
Expand All @@ -30,7 +30,7 @@
)


def process_precommit_text(

Check notice on line 33 in src/sync_with_uv/sync_with_uv.py

View workflow job for this annotation

GitHub Actions / pylint

R0914

Too many local variables (18/15)
precommit_text: str,
uv_data: dict[str, str],
user_repo_mappings: dict[str, str] | None = None,
Expand Down
Loading