Skip to content

Commit

Permalink
Update license (#568)
Browse files Browse the repository at this point in the history
* Update license

Updates the license for 2024. New files will have a copyright year of 2024 inserted in the header. Existing files will not be changed.

* Update .pre-commit-config.yaml
  • Loading branch information
b-chu authored Mar 1, 2024
1 parent c385d11 commit ddf5ca1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
rev: v1.5.4
hooks:
- id: insert-license
args:
- --license-filepath
- .pre-commit/FILE_HEADER
- --comment-style
- "#"
- --allow-past-years
types: [python]
- repo: local
hooks:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit/FILE_HEADER
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Copyright 2022-2024 MosaicML Streaming authors
Copyright 2024 MosaicML Streaming authors
SPDX-License-Identifier: Apache-2.0

0 comments on commit ddf5ca1

Please sign in to comment.