[check-sources] removed filepath from license header, added link to repo.
Dieser Commit ist enthalten in:
Ursprung
346393d92f
Commit
a89463d351
@ -23,9 +23,8 @@ def check_license(text, filepath, fix=False):
|
|||||||
if fix:
|
if fix:
|
||||||
is_test = (os.path.sep + 'test' + os.path.sep) in filepath
|
is_test = (os.path.sep + 'test' + os.path.sep) in filepath
|
||||||
text = '''/**
|
text = '''/**
|
||||||
* ''' + filepath + '''
|
* This file is part of Traintastic,
|
||||||
*
|
* see <https://github.com/traintastic/traintastic>.
|
||||||
* This file is part of the traintastic ''' + ('test suite' if is_test else 'source code') + '''.
|
|
||||||
*
|
*
|
||||||
* Copyright (C) ''' + str(datetime.datetime.now().year) + ''' Reinder Feenstra
|
* Copyright (C) ''' + str(datetime.datetime.now().year) + ''' Reinder Feenstra
|
||||||
*
|
*
|
||||||
|
|||||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren