From 72a4b7517dfe97561bf5c66c74817dcba9d17686 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Sat, 2 Mar 2024 14:23:39 -0500 Subject: [PATCH] black . --- data/process.py | 6 +++--- sql/latest_version.py | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/data/process.py b/data/process.py index ae1f9a2..6e5a725 100644 --- a/data/process.py +++ b/data/process.py @@ -69,7 +69,7 @@ with open("rda.csv") as file: def main(args): - """ Processes the USDA data to get ready for ntdb """ + """Processes the USDA data to get ready for ntdb""" # ----------------- # Process USDA csv @@ -98,7 +98,7 @@ def main(args): # Handle general file # ---------------------- def process(rows, fname): - """ Processes FD_GRP only :O """ + """Processes FD_GRP only :O""" with open(output_files[fname], "w+") as file: writer = csv.writer(file, lineterminator="\n") @@ -109,7 +109,7 @@ def process(rows, fname): # Nutrient defs # ----------------- def process_nutr_def(): - """ Process nutr_def """ + """Process nutr_def""" def process_main(rows): result = [] diff --git a/sql/latest_version.py b/sql/latest_version.py index 0cd53a6..4a34fe8 100644 --- a/sql/latest_version.py +++ b/sql/latest_version.py @@ -12,9 +12,7 @@ import os SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) try: - version_csv_path = os.path.join( - SCRIPT_DIR, "version.csv" - ) + version_csv_path = os.path.join(SCRIPT_DIR, "version.csv") rows = [] with open(version_csv_path, "r", encoding="utf-8") as _r_file: -- 2.52.0