diff --git a/.ci/FILE_HEADER b/.ci/FILE_HEADER index 9ae76d4864..a37a1c719f 100644 --- a/.ci/FILE_HEADER +++ b/.ci/FILE_HEADER @@ -1,2 +1,2 @@ -Copyright 2022 MosaicML Composer authors +Copyright 2024 MosaicML Composer authors SPDX-License-Identifier: Apache-2.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cac7ce797d..2802e43edb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,7 +75,7 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.13 + rev: v1.5.4 hooks: - id: insert-license args: @@ -83,6 +83,7 @@ repos: - .ci/FILE_HEADER - --comment-style - "#" + - --allow-past-years types: [python] exclude: 'composer\/trainer\/activation_checkpointing.py'