From d0ba5375e49267642120624b1b92e7dd4d9fe758 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:33:13 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/conf.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 3b4cb9c208..aa3f8780d9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -7,13 +7,14 @@ # -- Path setup -------------------------------------------------------------- +import datetime + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # import os import sys -import datetime from deepmd.utils.argcheck import ( ACTIVATION_FN_DICT, @@ -27,7 +28,9 @@ # -- Project information ----------------------------------------------------- project = "DeePMD-kit" -copyright = "2017-%d, DeepModeling" % datetime.datetime.now(tz=datetime.timezone.utc).year +copyright = ( + "2017-%d, DeepModeling" % datetime.datetime.now(tz=datetime.timezone.utc).year +) author = "DeepModeling" autoapi_dirs = ["../deepmd"]