From ba19a8ca35894a9f4f36fe1efb6823ab0da910c6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 May 2022 08:31:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index dc3dc71..4dbcd08 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,6 +9,7 @@ import os import sys from datetime import date + from pkg_resources import get_distribution # -- Path setup -------------------------------------------------------------- @@ -32,7 +33,7 @@ project = "django-auditlog" author = "Jan-Jelle Kester and contributors" copyright = f"2013-{date.today().year}, {author}" -release = get_distribution('django-auditlog').version +release = get_distribution("django-auditlog").version # for example take major/minor version = ".".join(release.split(".")[:2])