Skip to content

Commit d84a85b

Browse files
committed
Formatting
1 parent d33b360 commit d84a85b

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

openc3-cosmos-script-runner-api/scripts/script_instrumentor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 OpenC3, Inc.
1+
# Copyright 2025 OpenC3, Inc.
22
# All Rights Reserved.
33
#
44
# This program is free software; you can modify and/or redistribute it
@@ -158,7 +158,7 @@ def track_reached(self, node):
158158
def track_import_from(self, node):
159159
# Don't tract from __future__ imports because they must come first or:
160160
# SyntaxError: from __future__ imports must occur at the beginning of the file
161-
if node.module != '__future__':
161+
if node.module != "__future__":
162162
return self.track_enter_leave(node)
163163

164164
# Notes organized (including newlines) per https://docs.python.org/3/library/ast.html#abstract-grammar

openc3-cosmos-script-runner-api/test/scripts/test_script_instrumentor.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright 2025 OpenC3, Inc.
2+
# All Rights Reserved.
3+
#
4+
# This program is free software; you can modify and/or redistribute it
5+
# under the terms of the GNU Affero General Public License
6+
# as published by the Free Software Foundation; version 3 with
7+
# attribution addendums as found in the LICENSE.txt
8+
#
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU Affero General Public License for more details.
13+
#
14+
# This file may also be used under the terms of a commercial license
15+
# if purchased from OpenC3, Inc.
16+
117
import ast
218
import pytest
319
from scripts.script_instrumentor import ScriptInstrumentor

0 commit comments

Comments
 (0)