From 9817066889c3279785dcf98c1c41fac91a735960 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 18:20:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvnet_summation/__init__.py | 1 + pvnet_summation/models/base_model.py | 1 + pvnet_summation/training.py | 1 + scripts/checkpoint_to_huggingface.py | 1 + 4 files changed, 4 insertions(+) diff --git a/pvnet_summation/__init__.py b/pvnet_summation/__init__.py index 2c8e3d0..4898da8 100644 --- a/pvnet_summation/__init__.py +++ b/pvnet_summation/__init__.py @@ -1,2 +1,3 @@ """PVNet_summation""" + __version__ = "0.3.2" diff --git a/pvnet_summation/models/base_model.py b/pvnet_summation/models/base_model.py index 4ec5782..c386187 100644 --- a/pvnet_summation/models/base_model.py +++ b/pvnet_summation/models/base_model.py @@ -1,4 +1,5 @@ """Base model for all PVNet submodels""" + import logging from typing import Optional diff --git a/pvnet_summation/training.py b/pvnet_summation/training.py index 5c723fa..5663c6b 100644 --- a/pvnet_summation/training.py +++ b/pvnet_summation/training.py @@ -1,4 +1,5 @@ """Training""" + import os from typing import Optional diff --git a/scripts/checkpoint_to_huggingface.py b/scripts/checkpoint_to_huggingface.py index 71a5e3e..084308c 100644 --- a/scripts/checkpoint_to_huggingface.py +++ b/scripts/checkpoint_to_huggingface.py @@ -5,6 +5,7 @@ --local-path="~/tmp/this_model" \ --no-push-to-hub """ + import glob import os import tempfile