Skip to content

Commit

Permalink
Ignore false positive from mypy.
Browse files Browse the repository at this point in the history
  • Loading branch information
samcunliffe committed Dec 21, 2023
1 parent 724fd25 commit eb126c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wazp/callbacks/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,9 @@ def generate_yaml_files_from_spreadsheet(

# convert all fields in dataframe to strings
# (otherwise datetime fields are not encoded correctly in the YAML)
df = df.applymap(str)
df = df.applymap(str) # type: ignore[operator]
# TODO: remove ignore comment 👆 if we update the linter job to 3.11
# with newer pandas-stubs

# check if columns in spreadsheet match metadata file:
# if not, add missing columns
Expand Down

0 comments on commit eb126c7

Please sign in to comment.