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 pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ruff-sync"
version = "0.1.3.dev2"
version = "0.1.3.dev3"
description = "Synchronize Ruff linter configuration across projects"
keywords = ["ruff", "linter", "config", "synchronize", "python", "linting", "automation", "tomlkit", "pre-commit"]
authors = [
Expand Down
4 changes: 2 additions & 2 deletions src/ruff_sync/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def error(

# Strip emoji/symbols if any for the raw title, or just use a generic title
file_val = self._escape(str(file_path), is_property=True) if file_path else ""
file_arg = f"file={file_val}," if file_path else ""
file_arg = f"file={file_val},line=1," if file_path else ""
title_val = self._escape("Ruff Sync Error", is_property=True)

# The message is technically what we pass after ::
Expand All @@ -157,7 +157,7 @@ def warning(
(logger or LOGGER).warning(message)

file_val = self._escape(str(file_path), is_property=True) if file_path else ""
file_arg = f"file={file_val}," if file_path else ""
file_arg = f"file={file_val},line=1," if file_path else ""
title_val = self._escape("Ruff Sync Warning", is_property=True)

clean_msg = message.removeprefix("❌ ").removeprefix("⚠️ ")
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading