Skip to content

Commit 8be2028

Browse files
committed
Fix copyright notices
1 parent 8fa6989 commit 8be2028

File tree

4 files changed

+29
-27
lines changed

4 files changed

+29
-27
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/conftest\.py$
5758
args:
5859
- --comment-style
5960
- "|#|"

dev_tools/language_server/LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,12 @@ 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 vendored 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+
235+
Original work in dev_tools/language_server/tests/conftest.py:
236+
Copyright 2017 Palantir Technologies, Inc.
237+
Licensed under the MIT License.

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/conftest.py

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
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.
17-
1+
############################################################################
2+
# Original work Copyright 2017 Palantir Technologies, Inc. #
3+
# Original work licensed under the MIT License. #
4+
# See ThirdPartyNotices.txt in the project root for license information. #
5+
# All modifications Copyright (c) Open Law Library. All rights reserved. #
6+
# #
7+
# Licensed under the Apache License, Version 2.0 (the "License") #
8+
# you may not use this file except in compliance with the License. #
9+
# You may obtain a copy of the License at #
10+
# #
11+
# http: // www.apache.org/licenses/LICENSE-2.0 #
12+
# #
13+
# Unless required by applicable law or agreed to in writing, software #
14+
# distributed under the License is distributed on an "AS IS" BASIS, #
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
16+
# See the License for the specific language governing permissions and #
17+
# limitations under the License. #
18+
############################################################################
1819
import pytest
1920

2021
from hamilton_lsp.server import HamiltonLanguageServer, register_server_features

0 commit comments

Comments
 (0)