6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2,tests/test_pydocstyle.py,,,#,28
Before Change
violations = list(check_all_files())
if violations:
counts = dict()
for e in violations:
print(e)
counts[e.code] = counts.get(e.code, 0) + 1
for n, code in sorted([(n, code) for code, n in counts.items()], reverse=True):
p = lookup_error_params(code)
print("%s %8d %s" % (code, n, p.short_desc))
print("%s %8d violations" % ("tot", len(violations)))
// TODO: exit(1)
After Change
//raise Exception("PyDoc Coding Style: %d violations have been found" % ( len(self.violations))) //// TODO: Correct these errors to allow Exception
if __name__ == "__main__":
unittest.main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_pydocstyle.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 20ef4a860325d1735df038d4e4b8c7de5e013ed3
Time: 2020-03-11
Author: sven@anyscale.io
File Name: rllib/tests/test_checkpoint_restore.py
Class Name:
Method Name:
Project Name: LCAV/pyroomacoustics
Commit Name: e259d20361e4518ed330c054d9b907d15da75e57
Time: 2019-06-12
Author: fakufaku@gmail.com
File Name: pyroomacoustics/bss/tests/test_bss.py
Class Name:
Method Name: