Skip to content

Default arguments from hooks.yaml - #185

Merged
asottile merged 1 commit into
masterfrom
default_args_from_hooks_yaml
Jan 13, 2015
Merged

asottile merged 1 commit into
masterfrom
default_args_from_hooks_yaml

Conversation

@asottile

Copy link
Copy Markdown
Member

This allows (for instance) the autopep8-wrapper hook in https://github.com/pre-commit/pre-commit-hooks to default the args to ['-i']

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 26502df on default_args_from_hooks_yaml into 78c682a on master.

asottile added a commit that referenced this pull request Jan 13, 2015
@asottile
asottile merged commit b684520 into master Jan 13, 2015
@asottile
asottile deleted the default_args_from_hooks_yaml branch January 13, 2015 20:13
droctothorpe pushed a commit to droctothorpe/pre-commit that referenced this pull request Mar 23, 2022
* add no commit code and config

* add the code

* remove version tweak

* fix logic, remove newline

* add Tests and cleanup testing issues

* remove extraneous modules

* cleanup some pep8 and flake issues

* reorder imports

* more fixes for syntax checking

* code cleanup based off asottile comments

* Use Contractions Properly, alphabatize new hook.

* Adding support for branches with a slash in them.
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