4f549bd27ad1f18c3afb3e084d7ae5df444b55c6,tasks.py,,lint_example_notebooks,#,92

Before Change


            failed_files.append(str(path))

    if num_fails > 0:
        raise RuntimeError(
            "Notebook code isn"t formatted properly.\n"
            + "Number of unformatted files reported: {}\n".format(num_fails)
            + "Files with errors: {}".format(pformat(failed_files))
        )

After Change


            + "Number of unformatted files reported: {}\n".format(num_fails)
            + "Files with errors: {}".format(pformat(failed_files))
        )
        sys.exit(num_fails)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PIQuIL/QuCumber
Commit Name: 4f549bd27ad1f18c3afb3e084d7ae5df444b55c6
Time: 2019-04-16
Author: emerali@users.noreply.github.com
File Name: tasks.py
Class Name:
Method Name: lint_example_notebooks


Project Name: ReactionMechanismGenerator/RMG-Py
Commit Name: f73cb575b689a66c07d988358ad426f97a49ed55
Time: 2019-09-23
Author: mjliu@mit.edu
File Name: utilities.py
Class Name:
Method Name: check_pydas


Project Name: PIQuIL/QuCumber
Commit Name: 27429f9681d452ac25e24d38be28d2490f14b714
Time: 2019-04-23
Author: emerali@users.noreply.github.com
File Name: tasks.py
Class Name:
Method Name: license_check