Skip to content

Commit 19368c6

Browse files
authored
Update license (#887)
Updates the license for 2024. New files will have a copyright year of 2024 inserted in the header. Existing files will not be changed.
1 parent 35bb339 commit 19368c6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.ci/FILE_HEADER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Copyright 2022 MosaicML LLM Foundry authors
1+
Copyright 2024 MosaicML LLM Foundry authors
22
SPDX-License-Identifier: Apache-2.0

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,15 @@ repos:
5757
- id: mixed-line-ending
5858
- id: trailing-whitespace
5959
- repo: https://github.com/Lucas-C/pre-commit-hooks
60-
rev: v1.3.1
60+
rev: v1.5.4
6161
hooks:
6262
- id: insert-license
6363
args:
6464
- --license-filepath
6565
- .ci/FILE_HEADER
6666
- --comment-style
6767
- '#'
68+
- --allow-past-years
6869
types: [python]
6970
- repo: https://github.com/PyCQA/docformatter
7071
rev: v1.5.0

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2024 MosaicML LLM Foundry authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
"""MosaicML LLM Foundry package setup."""
25

36
import os

0 commit comments

Comments
 (0)