[check-sources] removed filepath from license header, added link to repo.

Dieser Commit ist enthalten in:
Reinder Feenstra 2025-02-19 23:13:54 +01:00
Ursprung 346393d92f
Commit a89463d351

Datei anzeigen

@ -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
* *