je-editor 0.0.178__py3-none-any.whl → 0.0.180__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- je_editor/pyside_ui/code/code_format/pep8_format.py +1 -3
- je_editor/pyside_ui/code/code_process/code_exec.py +7 -6
- je_editor/pyside_ui/code/plaintext_code_edit/code_edit_plaintext.py +2 -5
- je_editor/pyside_ui/code/syntax/syntax_setting.py +1 -1
- {je_editor-0.0.178.dist-info → je_editor-0.0.180.dist-info}/METADATA +1 -1
- {je_editor-0.0.178.dist-info → je_editor-0.0.180.dist-info}/RECORD +9 -9
- {je_editor-0.0.178.dist-info → je_editor-0.0.180.dist-info}/WHEEL +1 -1
- {je_editor-0.0.178.dist-info → je_editor-0.0.180.dist-info}/LICENSE +0 -0
- {je_editor-0.0.178.dist-info → je_editor-0.0.180.dist-info}/top_level.txt +0 -0
@@ -24,9 +24,7 @@ class PEP8FormatChecker(pycodestyle.Checker):
|
|
24
24
|
self.error_list: list = list()
|
25
25
|
|
26
26
|
def replace_report_error(self, line_number, offset, text, check):
|
27
|
-
if text.startswith("W191"):
|
28
|
-
pass
|
29
|
-
else:
|
27
|
+
if not text.startswith("W191"):
|
30
28
|
self.error_list.append(f"{text} on line: {line_number}, offset: {offset}")
|
31
29
|
|
32
30
|
def check_all_format(self, expected=None, line_offset=0) -> int:
|
@@ -130,6 +130,11 @@ class ExecManager(object):
|
|
130
130
|
if self.process is not None:
|
131
131
|
self.process.terminate()
|
132
132
|
|
133
|
+
def full_exit_program(self):
|
134
|
+
self.timer.stop()
|
135
|
+
self.exit_program()
|
136
|
+
self.main_window.exec_program = None
|
137
|
+
|
133
138
|
def pull_text(self) -> None:
|
134
139
|
# Pull text from queue and put in code result area
|
135
140
|
try:
|
@@ -149,13 +154,9 @@ class ExecManager(object):
|
|
149
154
|
except queue.Empty:
|
150
155
|
pass
|
151
156
|
if self.process.returncode == 0:
|
152
|
-
self.
|
153
|
-
self.exit_program()
|
154
|
-
self.main_window.exec_program = None
|
157
|
+
self.full_exit_program()
|
155
158
|
elif self.process.returncode is not None:
|
156
|
-
self.
|
157
|
-
self.exit_program()
|
158
|
-
self.main_window.exec_program = None
|
159
|
+
self.full_exit_program()
|
159
160
|
if self.still_run_program:
|
160
161
|
# poll return code
|
161
162
|
self.process.poll()
|
@@ -77,11 +77,8 @@ class CodeEditor(QPlainTextEdit):
|
|
77
77
|
|
78
78
|
def check_env(self):
|
79
79
|
path = venv_check()
|
80
|
-
|
81
|
-
|
82
|
-
self.env = jedi.create_environment(str(path))
|
83
|
-
except Exception as error:
|
84
|
-
raise error
|
80
|
+
if path.exists():
|
81
|
+
self.env = jedi.create_environment(str(path))
|
85
82
|
|
86
83
|
def set_complete(self, list_to_complete: list) -> None:
|
87
84
|
"""
|
@@ -13,16 +13,16 @@ je_editor/pyside_ui/code/auto_save/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
13
13
|
je_editor/pyside_ui/code/auto_save/auto_save_manager.py,sha256=BWiU0kp21VCcyZ1tkbqfoKdIi8gQsfs1nBEXGhwwfYA,775
|
14
14
|
je_editor/pyside_ui/code/auto_save/auto_save_thread.py,sha256=LHfWKNVE1Rmd1MHbubHXvtUNdxlTAIVDbg2hjU8EY80,1219
|
15
15
|
je_editor/pyside_ui/code/code_format/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
je_editor/pyside_ui/code/code_format/pep8_format.py,sha256=
|
16
|
+
je_editor/pyside_ui/code/code_format/pep8_format.py,sha256=MXRV9znb9H_2kdVFKBCcausehdm3wdlipx079UcuHH0,2891
|
17
17
|
je_editor/pyside_ui/code/code_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
|
-
je_editor/pyside_ui/code/code_process/code_exec.py,sha256=
|
18
|
+
je_editor/pyside_ui/code/code_process/code_exec.py,sha256=esmJS0kIMbvucjTYHT7L6SPT8fuhNzY0heXnFmhzX8s,8765
|
19
19
|
je_editor/pyside_ui/code/plaintext_code_edit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
20
|
-
je_editor/pyside_ui/code/plaintext_code_edit/code_edit_plaintext.py,sha256=
|
20
|
+
je_editor/pyside_ui/code/plaintext_code_edit/code_edit_plaintext.py,sha256=9oemWw5TEVkeYsmDvpmof-N07-aZMz0WSgDuFrQjyKY,12342
|
21
21
|
je_editor/pyside_ui/code/shell_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
je_editor/pyside_ui/code/shell_process/shell_exec.py,sha256=477oCBLtK4lH_aO80U7hXPgdpDu-WAY94MIBLcin51Y,7737
|
23
23
|
je_editor/pyside_ui/code/syntax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
24
24
|
je_editor/pyside_ui/code/syntax/python_syntax.py,sha256=4xsm6z0hEkh8fZ_I72eXBfkgV9hQ6FjSwJNVeYMfiEg,1611
|
25
|
-
je_editor/pyside_ui/code/syntax/syntax_setting.py,sha256=
|
25
|
+
je_editor/pyside_ui/code/syntax/syntax_setting.py,sha256=5mx0bnCJBvdAH6LixV_k6KoQyEdnTnC5sV3ieq06XBw,2243
|
26
26
|
je_editor/pyside_ui/code/textedit_code_result/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
27
|
je_editor/pyside_ui/code/textedit_code_result/code_record.py,sha256=mM52XP-FfvN_WEDYOuzyP8OUelLhtR7Rd2M-KaOBPqo,1810
|
28
28
|
je_editor/pyside_ui/dialog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -99,8 +99,8 @@ je_editor/utils/redirect_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
99
99
|
je_editor/utils/redirect_manager/redirect_manager_class.py,sha256=RulOP6Udyna3q01iti_BuMpmhEIObnTJq3G5MIu1Rwo,1750
|
100
100
|
je_editor/utils/venv_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
101
101
|
je_editor/utils/venv_check/check_venv.py,sha256=3HjMwqJzqY8Ir6auniyZMlL0h0TAvP3nZkOI-bR4_jA,798
|
102
|
-
je_editor-0.0.
|
103
|
-
je_editor-0.0.
|
104
|
-
je_editor-0.0.
|
105
|
-
je_editor-0.0.
|
106
|
-
je_editor-0.0.
|
102
|
+
je_editor-0.0.180.dist-info/LICENSE,sha256=KMhUHh6pnIUvmXDW-49L_Sz63bqkOlPDqsecaqKiitU,1091
|
103
|
+
je_editor-0.0.180.dist-info/METADATA,sha256=m2lbzmwKtW8jg_bb0odm7iuyDWWBnEBPqpZM_K6j3Dg,3331
|
104
|
+
je_editor-0.0.180.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
105
|
+
je_editor-0.0.180.dist-info/top_level.txt,sha256=_9YA7BgxpkmdLs-5V_UQILxClcMRgPyG1a3qaE-Bkcs,10
|
106
|
+
je_editor-0.0.180.dist-info/RECORD,,
|
File without changes
|
File without changes
|