File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,10 @@ def install(self, ctx: Context) -> None:
157
157
and requirements_hash_file .read_text () == self .requirements_hash
158
158
):
159
159
# Requirements are up to date
160
- ctx .debug ("Base tools requirements haven't changed." )
160
+ ctx .debug (
161
+ f"Base tools requirements haven't changed. Hash file: '{ requirements_hash_file } '; "
162
+ f"Hash: '{ self .requirements_hash } '"
163
+ )
161
164
return
162
165
requirements = []
163
166
if self .requirements_files :
@@ -177,6 +180,7 @@ def install(self, ctx: Context) -> None:
177
180
)
178
181
requirements_hash_file .parent .mkdir (parents = True , exist_ok = True )
179
182
requirements_hash_file .write_text (self .requirements_hash )
183
+ ctx .debug (f"Wrote '{ requirements_hash_file } ' with contents: '{ self .requirements_hash } '" )
180
184
181
185
182
186
class Context :
@@ -294,6 +298,7 @@ def run(
294
298
295
299
Either in a virtualenv context if one was configured or the system context.
296
300
"""
301
+ self .debug (f"""Running '{ " " .join (cmdline )} '""" )
297
302
try :
298
303
if self .venv :
299
304
return self .venv .run (
@@ -589,6 +594,8 @@ def parse_args(self) -> None:
589
594
"""
590
595
Parse CLI.
591
596
"""
597
+ # Log the argv getting executed
598
+ self .context .debug (f"Tools executing 'sys.argv': { sys .argv } " )
592
599
# Process registered imports to allow other modules to register commands
593
600
self ._process_registered_tool_modules ()
594
601
options = self .parser .parse_args ()
You can’t perform that action at this time.
0 commit comments