Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate evaluated checks #279

Open
deepakmahakale opened this issue May 21, 2021 · 1 comment · May be fixed by #280
Open

Duplicate evaluated checks #279

deepakmahakale opened this issue May 21, 2021 · 1 comment · May be fixed by #280

Comments

@deepakmahakale
Copy link

deepakmahakale commented May 21, 2021

pre-commit ends up having duplicate evaluated checks.

Can we add uniq on the evaluated check method to avoid duplication?

---
:checks_remove: []
:checks_add:
- :local
- :debugger
- :rubocop
- :ruby_symbol_hashrockets
- :white_space

ruby check is from local.

$ pre-commit list

Available providers: default(0) git(10) git_old(11) yaml(20) env(30)
Available checks   : before_all .......
Default   checks   : ruby
Enabled   checks   : ruby local debugger rubocop ruby_symbol_hashrockets white_space
Evaluated checks   : pry local local debugger rubocop ruby_symbol_hashrockets white_space
Default   warnings :
Enabled   warnings :
Evaluated warnings :
@deepakmahakale
Copy link
Author

Fixing and raising a pull request

deepakmahakale added a commit to deepakmahakale/pre-commit that referenced this issue May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant