diff --git a/hatch.toml b/hatch.toml index e9db95f..1b25e20 100644 --- a/hatch.toml +++ b/hatch.toml @@ -8,7 +8,7 @@ sync = "pip install -r requirements-testing.txt" test = "pytest --cov-config pyproject.toml {args:test}" typing = "mypy {args:src test}" style = [ - "ruff {args:src test}", + "ruff check {args:src test}", "black --check --diff {args:src test}", ] fmt = [ diff --git a/src/openjd/model/_format_strings/_format_string.py b/src/openjd/model/_format_strings/_format_string.py index f990d40..20dd1a2 100644 --- a/src/openjd/model/_format_strings/_format_string.py +++ b/src/openjd/model/_format_strings/_format_string.py @@ -26,8 +26,7 @@ def __init__(self, *, string: str, start: int, end: int, expr: str = "", details expression = f"Expression: {expr}. " if expr else "" reason = f"Reason: {details}." if details else "" msg = ( - f"Failed to parse interpolation expression in {string} " - f"at [{start}, {end}]. " + f"Failed to parse interpolation expression at [{start}, {end}]. " f"{expression}" f"{reason}" )