Skip to content

Commit

Permalink
fix flake8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreFCruz committed Nov 21, 2024
1 parent db9f239 commit 00f6508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion folktexts/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import logging
import statistics
from typing import Callable, Optional
from typing import Callable

import numpy as np
from netcal.metrics import ECE
Expand Down
2 changes: 1 addition & 1 deletion notebooks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ def prettify_model_name(name: str) -> str:
return dct[name]
else:
logging.error(f"Couldn't find prettified name for {name}.")
return name
return name

0 comments on commit 00f6508

Please sign in to comment.