From 49d49cbffa474ebbc615aa13401e34e9633cfebe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 17:38:04 +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 50e23a1..91d3224 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 99bbbf7..dcec557 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