Merge pull request #3476 from avirlrma/master

change doc copyright year to range and auto update year
This commit is contained in:
Bruno Oliveira 2018-05-16 17:53:23 -03:00 committed by GitHub
commit 5edad01d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Antony Lee
Armin Rigo
Aron Coyle
Aron Curzon
Aviral Verma
Aviv Palivoda
Barney Gale
Ben Webb

1
changelog/3303.doc.rst Normal file
View File

@ -0,0 +1 @@
Change documentation copyright year to a range which auto-updates itself each time it is published.

View File

@ -20,6 +20,7 @@
import os
import sys
import datetime
from _pytest import __version__ as version
@ -57,7 +58,8 @@ master_doc = 'contents'
# General information about the project.
project = u'pytest'
copyright = u'2015, holger krekel and pytest-dev team'
year = datetime.datetime.utcnow().year
copyright = u'2015{} , holger krekel and pytest-dev team'.format(year)