de2fda821ec02eee57449de9562f80f5993e65ce,nlp_architect/cmd.py,StyleCommand,run_pylint,#,122
Before Change
print("Running pylint ...\n")
pylint_config = path.join(LIBRARY_ROOT, "pylintrc")
cmd = "pylint {} --rcfile {}".format(" ".join(StyleCommand.files_to_check), pylint_config)
out, ret = run_shell_cmd(cmd)
print(out)
return ret
After Change
print("Running pylint ...\n")
pylint_config = path.join(LIBRARY_ROOT, "pylintrc")
cmd = "pylint {} --rcfile {}".format(" ".join(StyleCommand.files_to_check), pylint_config)
cmd_out = run(cmd, shell=True, check=False)
return cmd_out.returncode
class TestCommand(object):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: NervanaSystems/nlp-architect
Commit Name: de2fda821ec02eee57449de9562f80f5993e65ce
Time: 2018-11-25
Author: peteriz@users.noreply.github.com
File Name: nlp_architect/cmd.py
Class Name: StyleCommand
Method Name: run_pylint
Project Name: NervanaSystems/nlp-architect
Commit Name: de2fda821ec02eee57449de9562f80f5993e65ce
Time: 2018-11-25
Author: peteriz@users.noreply.github.com
File Name: nlp_architect/cmd.py
Class Name: DocsCommand
Method Name: run_docs
Project Name: NervanaSystems/nlp-architect
Commit Name: de2fda821ec02eee57449de9562f80f5993e65ce
Time: 2018-11-25
Author: peteriz@users.noreply.github.com
File Name: nlp_architect/cmd.py
Class Name: StyleCommand
Method Name: run_flake