From 0e462b34189268a9aaa13e5e1372ab09ff81c9b9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 17:32:29 +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 c58e4f6..dd25494 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 f586ca4..129d431 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