Skip to content

Commit

Permalink
chore: update pre-commit config (#1145)
Browse files Browse the repository at this point in the history
## Rationale
use more than one line license check config.

## Detailed Changes
update `.pre-commit-config.yaml`
  • Loading branch information
tanruixiang authored Aug 9, 2023
1 parent 1d5cb94 commit b1bbaf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repos:
args:
- --license-filepath
- scripts/license-header.txt
- --detect-license-in-X-top-lines=13
- --comment-style
- //
- --use-current-year
Expand Down
4 changes: 2 additions & 2 deletions scripts/license-header.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

0 comments on commit b1bbaf7

Please sign in to comment.