3397e6bfd55584c62d64911ecdaf588ca3469b79,noxfile-template.py,,,#,25
Before Change
// Get root of this repository. Assume we don"t have directories nested deeper than 10 items.
p = Path(os.getcwd())
for i in range(10):
if p is None:
raise Exception("Unable to detect repository root.")
if Path(p / ".git").exists():
REPO_ROOT = str(p)
break
p = p.parent
//
// Helpers and utility functions
//
def _list_files(folder, pattern):
Lists all files below the given folder that match the pattern.
for root, folders, files in os.walk(folder):
for filename in files:
After Change
// Any default versions that should be ignored.
IGNORED_VERSIONS = ["2.7"]
TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS])
//
// Style Checks
//
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3397e6bfd55584c62d64911ecdaf588ca3469b79
Time: 2020-04-01
Author: 31518063+kurtisvg@users.noreply.github.com
File Name: noxfile-template.py
Class Name:
Method Name:
Project Name: commonsense/conceptnet5
Commit Name: de83e84dd87aef0dea564de76c648c72d0f6b5a1
Time: 2017-04-05
Author: rob@luminoso.com
File Name: conceptnet5/vectors/evaluation/analogy.py
Class Name:
Method Name: eval_google_analogies
Project Name: LCAV/pyroomacoustics
Commit Name: 86657a6fce233ae2c4210490e9dcb4dd18ad9103
Time: 2016-06-14
Author: fakufaku@gmail.com
File Name: pyroomacoustics/acoustics.py
Class Name:
Method Name: bands_hz2s