Skip to content

Commit

Permalink
fix licence check
Browse files Browse the repository at this point in the history
  • Loading branch information
oeqqwq committed Mar 28, 2024
1 parent e2508b4 commit 33b9944
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
header: # <1>
license:
spdx-id: Apache-2.0 # <2>
copyright-owner: Ant Group Co., Ltd. # <3>
copyright-year: '2024' # <25>
software-name: secretflow # <4>

pattern: | # <6>
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[s]?://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.
paths: # <7>
- '**'

paths-ignore: # <8>
- '.circleci'
- '.github'
- '**/*.md'
- '**/*.json'
- '**/*.yaml'
- '**/*.yml'
- '**/*.ipynb'
- '**/*.txt'
- '**/*.Dockerfile'
- '**/Dockerfile'
- '**/*.po'
- '**/*.svg'
- '**/*.rst'
- '**/*.lds'
- '**/*.patch'
- '**/*.mlir'
- '**/*.csv'
- '**/*.tmpl'
- 'LICENSE'
- 'NOTICE'
- '.bazelversion'
- '.clang-format'
- '.clang-tidy'
- '.gitattributes'
- '.gitignore'
- '.gitmodules'
- 'pyproject.toml'
- 'setup.cfg'

comment: never # <9>

license-location-threshold: 80 # <10>

language: # <11>
Starlark: # <12>
extensions: #<13>
- ".bazel"
- ".bazelrc"
- "BUILD"
- ".bzl"
- "WORKSPACE"
comment_style_id: PythonStyle # <15>
Cpp:
extensions:
- ".cc"
- ".h"
- ".cu"
comment_style_id: DoubleSlash

0 comments on commit 33b9944

Please sign in to comment.