autograder.cli.util

The autograder.cli.util package contains general utility commands.

This package contains the following CLI tools:


autograder.cli.util.extract-code

Pull the code from a file and output the sanitized version as if it was being graded.

usage: python3 -m autograder.cli.util.extract-code [-h] [--version]
                                                   [--testing-mode]
                                                   [-o OUT_PATH]
                                                   PATH

autograder.cli.util.style

Check the style of all '.py' and '.ipynb' files in the paths specified (recursively).

usage: python3 -m autograder.cli.util.style [-h] [--version] [--testing-mode]
                                            [--ignore-path IGNORE_PATHS]
                                            [--ignore-pattern IGNORE_PATTERNS]
                                            [--style-overrides STYLE_OVERRIDES]
                                            path [path ...]
1"""
2The `autograder.cli.util` package contains general utility commands.
3"""