linter recommendations

This commit is contained in:
Nat Hillard 2021-08-05 00:50:06 -04:00
parent 09508ded9d
commit 5af7b44bf7
2 changed files with 3 additions and 2 deletions

View file

@ -196,7 +196,7 @@ class PostScoreETL(ExtractTransformLoad):
def _save_downloadable_zip(self):
logger.info("Saving Downloadable CSV")
logger.info([c for c in self.score_county_state_merged.columns])
logger.info(list(self.score_county_state_merged.columns))
logger.info(self.DOWNLOADABLE_SCORE_COLUMNS)
downloadable_tiles = self.score_county_state_merged[
self.DOWNLOADABLE_SCORE_COLUMNS

View file

@ -1,6 +1,7 @@
import datetime
import logging
import os
import sys
import shutil
import zipfile
from pathlib import Path
@ -124,7 +125,7 @@ def unzip_file_from_url(
if response.status_code == 200:
file_contents = response.content
else:
exit(
sys.exit(
f"HTTP response {response.status_code} from url {file_url}. Info: {response.content}"
)