Skip to content

Commit c1b7d51

Browse files
authored
State only starting year in license. (#182)
1 parent 6b586aa commit c1b7d51

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright 2020-2021 Tobias Raabe
3+
Copyright 2020 Tobias Raabe
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this
66
software and associated documentation files (the "Software"), to deal in the Software
@@ -26,7 +26,7 @@ copied and potentially modified.
2626

2727
MIT License
2828

29-
Copyright (c) 2004-2020 Holger Krekel and others
29+
Copyright (c) 2004 Holger Krekel and others
3030

3131
Permission is hereby granted, free of charge, to any person obtaining a copy of this
3232
software and associated documentation files (the "Software"), to deal in the Software

docs/source/changes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ all releases are available on `PyPI <https://pypi.org/project/pytask>`_ and
2626
path part.
2727
- :gh:`180` fixes parsing relative paths from the configuration file.
2828
- :gh:`181` adds correct formatting of running tasks.
29+
- :gh:`182` introduces that only the starting year is displayed in the license following
30+
https://hynek.me/til/copyright-years.
2931

3032

3133
0.1.3 - 2021-11-30

docs/source/conf.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# If extensions (or modules to document with autodoc) are in another directory, add
66
# these directories to sys.path here. If the directory is relative to the documentation
77
# root, use os.path.abspath to make it absolute, like shown here.
8-
import datetime as dt
98
from importlib.metadata import version
109

1110
import sphinx
@@ -14,9 +13,8 @@
1413
# -- Project information ---------------------------------------------------------------
1514

1615
project = "pytask"
17-
year = dt.datetime.now().year
1816
author = "Tobias Raabe"
19-
copyright = f"2020-{year}, {author}" # noqa: A001
17+
copyright = f"2020, {author}" # noqa: A001
2018

2119
# The version, including alpha/beta/rc tags, but not commit hash and datestamps
2220
release = version("pytask")

0 commit comments

Comments
 (0)