Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrigadir committed Jan 6, 2023
1 parent 2ed03ae commit 97816ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion csv_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def __init__(
self.output_format = output_format
self.batch_size = batch_size
self.hide_progress = hide_progress
self.progress = FileSizeProgressBar(infile, outfile, disable=(hide_progress or not self.infile.seekable()))
self.progress = FileSizeProgressBar(
infile, outfile, disable=(hide_progress or not self.infile.seekable())
)

def _read_lines(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url="https://github.com/docnow/twarc-csv",
author="Igor Brigadir",
author_email="[email protected]",
py_modules=["twarc_csv","csv_writer","dataframe_converter"],
py_modules=["twarc_csv", "csv_writer", "dataframe_converter"],
description="A twarc plugin to output Twitter data as CSV",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
1 change: 0 additions & 1 deletion twarc_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ def csv(
writer.process()

if not hide_stats and outfile.name != "<stdout>":

errors = (
click.style(
f"{converter.counts['parse_errors']} failed to parse. See twarc.log for details.\n",
Expand Down

0 comments on commit 97816ed

Please sign in to comment.