Skip to content

Commit bd02332

Browse files
author
EdgarMerger
committed
Layout autocompletion deeper object hinting
1 parent d8f76e1 commit bd02332

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

xpedition_layout/layout_ifc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: mbcs -*-
22
# Created by makepy.py version 0.5.01
33
# By python version 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)]
4-
# On Wed Nov 13 16:06:07 2024
4+
# On Thu Nov 14 09:43:47 2024
55
'MGCPCB (AutoActive series) Type Library'
66
makepy_version = '0.5.01'
77
python_version = 0x3090af0

xpedition_layout/layout_lib_gen/layout_ifc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: mbcs -*-
22
# Created by makepy.py version 0.5.01
33
# By python version 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)]
4-
# On Wed Nov 13 16:06:07 2024
4+
# On Thu Nov 14 09:43:47 2024
55
'MGCPCB (AutoActive series) Type Library'
66
makepy_version = '0.5.01'
77
python_version = 0x3090af0

xpedition_layout/layout_lib_gen/layout_orig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: mbcs -*-
22
# Created by makepy.py version 0.5.01
33
# By python version 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)]
4-
# On Wed Nov 13 16:06:07 2024
4+
# On Thu Nov 14 09:43:47 2024
55
'MGCPCB (AutoActive series) Type Library'
66
makepy_version = '0.5.01'
77
python_version = 0x3090af0

xpedition_layout/layout_lib_gen/sniff_layout_ifc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ def process_file(input_file: TextIO, output_file: TextIO) -> None:
101101

102102
def generate_input() -> None:
103103
# first generate some input starting point
104-
cmd: str = 'python makepy.py -o layout_orig.py -v MGCPCB.ExpeditionPCBApplication'
104+
cmd: str = 'python makepy.py -o layout_orig.py -v MGCPCB.FablinkXEApplication'
105105
result = subprocess.run(shlex.split(cmd), shell=True, capture_output=True, text=True)
106-
#result = subprocess.run('python makepy.py -o layout_orig.py -v MGCPCB', shell=True, capture_output=True, text=True)
107-
#result = subprocess.run(['python', 'makepy.py', '-o', 'layout_orig.py', '-v', 'MGCPCB'], capture_output=True, text=True)
106+
#result = subprocess.run('python makepy.py -o layout_orig.py -v MGCPCB.ExpeditionPCBApplication', shell=True, capture_output=True, text=True)
107+
#result = subprocess.run(['python', 'makepy.py', '-o', 'layout_orig.py', '-v', 'MGCPCB.ExpeditionPCBApplication'], capture_output=True, text=True)
108108
print(result)
109109

110110
def generate_output() -> None:
@@ -120,7 +120,7 @@ def copy_result():
120120
# result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
121121
# print(result)
122122
# result = subprocess.run(shlex.split(cmd), shell=True, capture_output=True, text=True)
123-
# result = subprocess.run(['python', 'makepy.py', '-o', 'layout_orig.py', '-v', 'MGCPCB'], capture_output=True, text=True)
123+
# result = subprocess.run(['python', 'makepy.py', '-o', 'layout_orig.py', '-v', 'MGCPCB.ExpeditionPCBApplication'], capture_output=True, text=True)
124124

125125
def add_type_hints_to_methods():
126126
# Read the content of the file

0 commit comments

Comments
 (0)