Skip to content

Change Exception arguments #1

Description

@spukhafte-sys

Calls to Exception in entire repo have string arguments that appear to expect %s interpolation. Consider replacing with f-strings.

For example in commit d0cd477, ivi/scpi/load.py, line 118:

raise Exception("Instrument ID mismatch, expecting %s, got %s", id_check, id_short)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions