Skip to content

Commit

Permalink
Resolve linting errors from black
Browse files Browse the repository at this point in the history
  • Loading branch information
jonavellecuerdo committed Feb 21, 2024
1 parent 5abd539 commit e1ef053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dsaps/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,5 @@ def reconcile(ctx, metadata_csv, output_directory, content_directory, file_type)
no_metadata = set(file_ids) - set(file_matches)
helpers.create_csv_from_list(no_metadata, f"{output_directory}no_metadata")
helpers.create_csv_from_list(no_files, f"{output_directory}no_files")
helpers.create_csv_from_list(
metadata_matches, f"{output_directory}metadata_matches"
)
helpers.create_csv_from_list(metadata_matches, f"{output_directory}metadata_matches")
helpers.update_metadata_csv(metadata_csv, output_directory, metadata_matches)
4 changes: 1 addition & 3 deletions dsaps/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,7 @@ def metadata_from_csv_row(cls, row, field_map):
]
)
else:
metadata.append(
MetadataEntry(key=f, value=field, language=language)
)
metadata.append(MetadataEntry(key=f, value=field, language=language))
return cls(
metadata=metadata,
file_identifier=file_identifier,
Expand Down

0 comments on commit e1ef053

Please sign in to comment.