From 7b7d6eabb23fcedfd7ef43623eb768e9ee79fa29 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:25:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvnet_summation/models/base_model.py | 1 + pvnet_summation/training.py | 1 + scripts/checkpoint_to_huggingface.py | 1 + setup.py | 1 + 4 files changed, 4 insertions(+) diff --git a/pvnet_summation/models/base_model.py b/pvnet_summation/models/base_model.py index 6e7d541..79eca09 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 73bcd2a..bf44543 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 0a5c09c..c421277 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 diff --git a/setup.py b/setup.py index 16ad607..4d119e3 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """ Usual setup file for package """ + # read the contents of your README file from pathlib import Path