Skip to content

Commit ea94c27

Browse files
author
Daria Tikhonovich
committed
examples header
1 parent 86f8ea8 commit ea94c27

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ BENCHMARK=benchmark
55
SOURCES=rectools
66
TESTS=tests
77
SCRIPTS=scripts
8+
EXAMPLES=examples
89

910

1011

@@ -85,10 +86,10 @@ test: .venv .test
8586
# Copyright
8687

8788
copyright:
88-
poetry run python -m scripts.copyright --check ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK}
89+
poetry run python -m scripts.copyright --check ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK} ${EXAMPLES}
8990

9091
copyright_fix:
91-
poetry run python -m scripts.copyright ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK}
92+
poetry run python -m scripts.copyright ${SOURCES} ${TESTS} ${SCRIPTS} ${BENCHMARK} ${EXAMPLES}
9293

9394

9495
# Cleaning

examples/tutorials/utils.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2025 MTS (Mobile Telesystems)
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
import json
216
import os
317
import typing as tp

0 commit comments

Comments
 (0)