Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds missing f to f string for printing info about variable #1198

Merged
merged 1 commit into from
Jun 11, 2024
Merged
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 pyaerocom/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@
return self.__dict__[key]

def __repr__(self):
return "{self.var_name}\nstandard_name: {self.standard_name}; Unit: {self.units}"
return f"{self.var_name}\nstandard_name: {self.standard_name}; Unit: {self.units}"

Check warning on line 549 in pyaerocom/variable.py

View check run for this annotation

Codecov / codecov/patch

pyaerocom/variable.py#L549

Added line #L549 was not covered by tests

def __eq__(self, other):
if isinstance(other, str):
Expand Down