Skip to content

Commit

Permalink
Fix license checker (#4446)
Browse files Browse the repository at this point in the history
ref #4305
  • Loading branch information
solotzg authored Mar 26, 2022
1 parent 460dc00 commit 225dabe
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ header:
- '**/NOTICE'
- 'dbms/src/IO/tests/limit_read_buffer.reference'
- 'dbms/src/IO/tests/DevicePixelRatio'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain'

comment: on-failure
3 changes: 3 additions & 0 deletions cmake/sequential.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2022 PingCAP, Ltd.
#
# 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
#
Expand Down
14 changes: 14 additions & 0 deletions dbms/src/Storages/DeltaMerge/File/DMFileBlockInputStream.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2022 PingCAP, Ltd.
//
// 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
//
// 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.

#include <Interpreters/Context.h>
#include <Storages/DeltaMerge/File/DMFileBlockInputStream.h>

Expand Down
14 changes: 14 additions & 0 deletions dbms/src/TestUtils/bench_dbms_main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2022 PingCAP, Ltd.
//
// 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
//
// 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.

#include <TestUtils/TiFlashTestBasic.h>
#include <benchmark/benchmark.h>

Expand Down
2 changes: 1 addition & 1 deletion format-diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def main():
default_suffix = ['.cpp', '.h', '.cc', '.hpp']
parser = argparse.ArgumentParser(description='TiFlash Code Format',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--repo_path', help='path of tics repository',
parser.add_argument('--repo_path', help='path of tiflash repository',
default=os.path.dirname(os.path.abspath(__file__)))
parser.add_argument('--suffix',
help='suffix of files to format, split by space', default=' '.join(default_suffix))
Expand Down

0 comments on commit 225dabe

Please sign in to comment.