-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] support disabling oca hooks through env var (#116)
* [REF] remove unused lines in tests self.runner is already set on setUp(), not required to exist per test. * [IMP] support disabling oca hooks through env var Closes #115. As is the case with pylint, this commit adds support for the environment variable `OCA_HOOKS_DISABLE_CHECKS`. Checks must be listed in it as a comma separated list, said checks will be added to the disable section of oca_hooks.cfg, effectively disabling them. This lets projects disable checks through variables.sh
- Loading branch information
Showing
4 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters