b4489997dc5b04e614e9919634461110a27cdba5,python-package/setup.py,,,#,6

Before Change


with open("README.md") as readme_file:
    readme = readme_file.read()

with open("HISTORY.rst") as history_file:
    history = history_file.read()

requirements = [
    "numpy>=1.13.0",
    "matplotlib>=2.0.2",
    "hyperopt==0.1",

After Change


from pip.req import parse_requirements

install_reqs = parse_requirements("./requirements.txt", session=False)
reqs = [str(ir.req) for ir in install_reqs]

class OverrideInstallCommand(install):
    def run(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: AxeldeRomblay/MLBox
Commit Name: b4489997dc5b04e614e9919634461110a27cdba5
Time: 2017-06-27
Author: nicolas.cherel@telecom-paristech.fr
File Name: python-package/setup.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: b96135c218065188be9dfe1fea1dff76b6f66e4f
Time: 2019-02-26
Author: code@jmsmkn.com
File Name: app/grandchallenge/container_exec/tasks.py
Class Name:
Method Name: validate_docker_image_async


Project Name: catalyst-cooperative/pudl
Commit Name: 7af58746244d441d19eb6ab4083bdd5f4d24bd6f
Time: 2020-05-12
Author: mailbox@pablovirgo.com
File Name: src/pudl/extract/ferc1.py
Class Name:
Method Name: get_strings