ddfac3e42d2ae2e09751de6638d813c76e30ff94,tools/check_sdist.py,,,#,8

Before Change


                     stdout=subprocess.PIPE)
out, err = p.communicate()

data = out.decode("utf-8").split("\n")
data = [l for l in data if l.startswith("hard linking")]
data = [l.replace("hard linking ", "") for l in data]
data = ["./" + l.split(" ->")[0] for l in data]

ignore_exts = [".pyc", ".so", ".o", "//", "~", ".gitignore", ".o.d"]
ignore_dirs = ["./build", "./dist", "./tools", "./doc", "./viewer_examples",
               "./downloads", "./scikit_image.egg-info", "./benchmarks"]

After Change


// The very first item contains the name of the archive
top_parent = Path(members[0].name)

filenames = ["./" + str(Path(m.name).relative_to(top_parent))
             for m in members[1:]]

ignore_exts = [".pyc", ".so", ".o", "//", "~", ".gitignore", ".o.d"]
ignore_dirs = ["./build", "./dist", "./tools", "./doc", "./viewer_examples",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: scikit-image/scikit-image
Commit Name: ddfac3e42d2ae2e09751de6638d813c76e30ff94
Time: 2018-12-04
Author: mark.harfouche@gmail.com
File Name: tools/check_sdist.py
Class Name:
Method Name:


Project Name: studioml/studio
Commit Name: 6ad488665327ebf386656f8bd7750a09932ebfdb
Time: 2017-09-23
Author: peter.zhokhov@sentient.ai
File Name: setup.py
Class Name:
Method Name: local_scheme


Project Name: AlexsLemonade/refinebio
Commit Name: 8a2be401001ff88cd01bba73c6ed4af4ce8a223b
Time: 2019-10-29
Author: kurt.wheeler91@gmail.com
File Name: workers/data_refinery_workers/processors/test_qn_reference.py
Class Name: QNRefTestCase
Method Name: test_qn_reference