Skip to content

Conversation

@dan98765
Copy link

Fixes #167


def fix_requirements(f):
requirements = []
before = []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could even do tuple(f) (since tuples are smaller, faster, and best of all immutable!)

@asottile
Copy link
Member

Thanks for fixing this!

@asottile asottile merged commit d419bef into pre-commit:master Jun 24, 2017
@dan98765 dan98765 deleted the fix_requirements_txt_fixer_on_empty_requirements_files branch June 25, 2017 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants