Comments (4)
Closing this as suggested in the PR - I do not have time to fix this.
I have another workaround.
from pre-commit-hooks.
Sorry for not answering this earlier 😢
The issue is totally valid, thank you for reporting it @mdeweerd!
I'm going to reopen it.
Sorry if I was not clear in PR #97 about this:
I think it would be good to fix this,
I just don't know when I will personnally be able to look at it.
from pre-commit-hooks.
I do not like dangling issues - nowadays bots are even closing them for us...
As you do not have the time to fix it, and me neither (because of the effort to understand the code in detail), this is one of those issues that is going to stay open forever.
The workaround is to have the same hook (and configuration) two times and use an alias for the second one.
from pre-commit-hooks.
Implemented in PR #98
from pre-commit-hooks.
Related Issues (20)
- insert_license - Only first year range is replaced in existing license HOT 6
- insert_license - Inserting new license with --use-current-year replaces start years in ranges HOT 3
- Matching multiple license headers? HOT 8
- Rename this repo? HOT 3
- insert-license should not add a LF at the end of the license header file if it does not have one, to prevent an ugly empty separator line HOT 2
- Ignore commit amend message files in .git when running forbid-tabs & co by default HOT 7
- CSS (single line comments) set `//` HOT 1
- insert-license detection does not ignore spaces after comment symbols HOT 4
- chmod hook conflicts with shell chmod in a python virtual env HOT 2
- Is there a way of defining a string in the hooks args instead of --license-filepath HOT 1
- How do I specify the hook to be applied to all files in the repo that ends with .py? HOT 2
- breaking changes in 1.5.2 and 1.5.3 - InvalidManifestError HOT 3
- make `forbid-tabs` and `replace-tabs` accept an exclusion list HOT 4
- Feature Request (insert_license): Use multiline comment for python files HOT 1
- Feature Request (insert_license): Dynamic years in license HOT 2
- An error has occurred: InvalidManifestError HOT 3
- pre-commit fails to install/run due to failures within python-Levenshtein-wheels HOT 1
- Error when using `exclude_types`, but not `exclude` HOT 2
- Ignore empty line in license HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pre-commit-hooks.