From 0af8474c6e80d721aa40be28c09149df225350cc Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 21 Feb 2024 20:04:22 -0800 Subject: [PATCH] Bump - ran black - updated to v1.3.3 - update to new 1.1.4 api. --- purpleair_data_logger/PurpleAirPSQLDataLogger.py | 14 +++++++------- setup.cfg | 4 ++-- sphinx_docs_build/source/conf.py | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/purpleair_data_logger/PurpleAirPSQLDataLogger.py b/purpleair_data_logger/PurpleAirPSQLDataLogger.py index b8405fe..85647d5 100644 --- a/purpleair_data_logger/PurpleAirPSQLDataLogger.py +++ b/purpleair_data_logger/PurpleAirPSQLDataLogger.py @@ -97,10 +97,10 @@ def __init__(self, PurpleAirAPIReadKey, PurpleAirAPIWriteKey, psql_db_conn): # Create some prepared statements self._db_prepared_statements = {} - self._db_prepared_statements[ - "station_information_and_status_fields" - ] = self._db_conn.prepare( - PSQL_INSERT_STATEMENT_STATION_INFORMATION_AND_STATUS_FIELDS + self._db_prepared_statements["station_information_and_status_fields"] = ( + self._db_conn.prepare( + PSQL_INSERT_STATEMENT_STATION_INFORMATION_AND_STATUS_FIELDS + ) ) self._db_prepared_statements["environmental_fields"] = self._db_conn.prepare( PSQL_INSERT_STATEMENT_ENVIRONMENTAL_FIELDS @@ -114,9 +114,9 @@ def __init__(self, PurpleAirAPIReadKey, PurpleAirAPIWriteKey, psql_db_conn): self._db_prepared_statements["pm2_5_fields"] = self._db_conn.prepare( PSQL_INSERT_STATEMENT_PM2_5_FIELDS ) - self._db_prepared_statements[ - "pm2_5_pseudo_average_fields" - ] = self._db_conn.prepare(PSQL_INSERT_STATEMENT_PM2_5_PSEUDO_AVERAGE_FIELDS) + self._db_prepared_statements["pm2_5_pseudo_average_fields"] = ( + self._db_conn.prepare(PSQL_INSERT_STATEMENT_PM2_5_PSEUDO_AVERAGE_FIELDS) + ) self._db_prepared_statements["pm10_0_fields"] = self._db_conn.prepare( PSQL_INSERT_STATEMENT_PM10_0_FIELDS ) diff --git a/setup.cfg b/setup.cfg index 4c6ada5..97c2b45 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = purpleair_data_logger -version = 1.3.2 +version = 1.3.3 license = MIT author = Carlos Santos author_email = dose.lucky.sake@cloak.id @@ -27,5 +27,5 @@ packages = purpleair_data_logger install_requires = pg8000==1.30.4 requests - purpleair_api==1.1.3 + purpleair_api==1.1.4 python_requires = >=3.8 diff --git a/sphinx_docs_build/source/conf.py b/sphinx_docs_build/source/conf.py index 53fe534..d9aa59a 100644 --- a/sphinx_docs_build/source/conf.py +++ b/sphinx_docs_build/source/conf.py @@ -23,7 +23,7 @@ author = "carlkidcrypto" # The full version, including alpha/beta/rc tags -release = "V1.3.2" +release = "V1.3.3" # -- General configuration ---------------------------------------------------