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

Before Change


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


    members = tar.getmembers()

// 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: 7

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: HyperGAN/HyperGAN
Commit Name: 16be55ed98340f9494b2eadb565dc18d6cf47d9c
Time: 2017-06-10
Author: martyn@255bits.com
File Name: hypergan/cli.py
Class Name: CLI
Method Name: __init__


Project Name: dPys/PyNets
Commit Name: 32234b97cd894b0849f5d151601ea4051cd1b123
Time: 2019-10-12
Author: dpisner@utexas.edu
File Name: pynets/core/utils.py
Class Name:
Method Name: collect_pandas_df_make