mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
46abfbdc2d
commit
ba19a8ca35
1 changed files with 2 additions and 1 deletions
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue