Skip to content

Commit f485f3d

Browse files
committed
Fix copyright notices
1 parent a7e9ad3 commit f485f3d

File tree

4 files changed

+24
-26
lines changed

4 files changed

+24
-26
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ repos:
5353
(?x)
5454
^\.github/|
5555
^docs/|
56-
^examples/
56+
^examples/|
57+
^dev_tools/language_server/tests/ls_setup\.py$
5758
args:
5859
- --comment-style
5960
- "|#|"

dev_tools/language_server/LICENSE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,9 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
226226
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
227227
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
228228
SOFTWARE.
229+
230+
This product includes test code derived from pygls
231+
(https://github.com/openlawlibrary/pygls):
232+
Copyright (c) Open Law Library. All rights reserved.
233+
Licensed under the Apache License, Version 2.0.
234+
See dev_tools/language_server/tests/ls_setup.py.

dev_tools/language_server/NOTICE

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,3 @@ Copyright 2025-2026 The Apache Software Foundation
33

44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
6-
7-
This product includes test code vendored from pygls
8-
(https://github.com/openlawlibrary/pygls):
9-
Copyright (c) Open Law Library. All rights reserved.
10-
Licensed under the Apache License, Version 2.0.
11-
12-
Original work in conftest.py:
13-
Copyright 2017 Palantir Technologies, Inc.
14-
Licensed under the MIT License.

dev_tools/language_server/tests/ls_setup.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Licensed to the Apache Software Foundation (ASF) under one
2-
# or more contributor license agreements. See the NOTICE file
3-
# distributed with this work for additional information
4-
# regarding copyright ownership. The ASF licenses this file
5-
# to you under the Apache License, Version 2.0 (the
6-
# "License"); you may not use this file except in compliance
7-
# with the License. You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing,
12-
# software distributed under the License is distributed on an
13-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
# KIND, either express or implied. See the License for the
15-
# specific language governing permissions and limitations
16-
# under the License.
1+
############################################################################
2+
# Copyright(c) Open Law Library. All rights reserved. #
3+
# See ThirdPartyNotices.txt in the project root for additional notices. #
4+
# #
5+
# Licensed under the Apache License, Version 2.0 (the "License") #
6+
# you may not use this file except in compliance with the License. #
7+
# You may obtain a copy of the License at #
8+
# #
9+
# http: // www.apache.org/licenses/LICENSE-2.0 #
10+
# #
11+
# Unless required by applicable law or agreed to in writing, software #
12+
# distributed under the License is distributed on an "AS IS" BASIS, #
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14+
# See the License for the specific language governing permissions and #
15+
# limitations under the License. #
16+
############################################################################
1717

1818
import asyncio
1919
import concurrent

0 commit comments

Comments
 (0)