There was an error while loading. Please reload this page.
1 parent 25dadce commit 5117a37Copy full SHA for 5117a37
1 file changed
src/scancode/cli.py
@@ -1670,4 +1670,6 @@ def get_pretty_params(ctx, generic_paths=False):
1670
1671
1672
if __name__ == '__main__':
1673
+ # We have this __main__ block so that we can run scancode as a script.
1674
+ # This is needed so we can use the Python debugging features in VSCode.
1675
scancode()
0 commit comments