Skip to content

Commit

Permalink
Update license to current year
Browse files Browse the repository at this point in the history
  • Loading branch information
noahp committed Oct 18, 2023
1 parent 6cea2b0 commit 4ef2ab6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2017 Heiko Behrens
Copyright (c) 2014-present Heiko Behrens
Copyright (c) 2022 Victor Chavez

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 2 additions & 0 deletions puncover/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
except ImportError:
from collections.abc import Iterable

from datetime import datetime
import itertools
import re
import pathlib
Expand Down Expand Up @@ -249,6 +250,7 @@ def __init__(self, collector):
"all_symbols": collector.all_symbols(),
"all_functions": collector.all_functions(),
"all_variables": collector.all_variables(),
"now": datetime.utcnow(),
}

def render_template(self, template_name, file_name):
Expand Down
2 changes: 1 addition & 1 deletion puncover/templates/base.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% block footer %}
brought to you with 💖
by <a href="https://twitter.com/hbehrens">Heiko Behrens</a>
<span class="secondary">– MIT license, copyright &copy; 2014-2017</span>
<span class="secondary">– MIT license, copyright &copy; 2014-{{ now.year }}</span>
{% endblock %}
</div>
</div>
Expand Down

0 comments on commit 4ef2ab6

Please sign in to comment.