Would you accept a change that accepts something like alt or altid in the pre-commit configuration file? ref?
The use case is the following.
We run our code through PyLint and while on the project code we're strict, on the tests we're a bit more relaxed.
So, we define 2 repos entries for PyLint. One for the project code, the other for the projects tests.
We already override name to make it clear which set of files are being linted, however, there's no way to choose which of the PyLint entries we want to explicitly run on the CLI, pre-commit run pylint is all we can do and runs both pylint hook entries.
Here's were the alternative ID comes in. It would allow "overriding" the ID so that we could better target what we want to run.
Should it also be used on the output if defined?
Would you accept a change that accepts something like
altoraltidin the pre-commit configuration file?ref?The use case is the following.
We run our code through PyLint and while on the project code we're strict, on the tests we're a bit more relaxed.
So, we define 2 repos entries for PyLint. One for the project code, the other for the projects tests.
We already override
nameto make it clear which set of files are being linted, however, there's no way to choose which of the PyLint entries we want to explicitly run on the CLI,pre-commit run pylintis all we can do and runs both pylint hook entries.Here's were the alternative ID comes in. It would allow "overriding" the ID so that we could better target what we want to run.
Should it also be used on the output if defined?