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

[IMP] support disabling oca hooks through env var #116

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

antonag32
Copy link
Contributor

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

self.runner is already set on setUp(), not required to exist per test.
Closes Vauxoo#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
@moylop260 moylop260 merged commit 90d5704 into Vauxoo:main Aug 8, 2023
18 checks passed
@moylop260 moylop260 deleted the i115-anton branch August 8, 2023 02:37
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 this pull request may close these issues.

Support environment variables to disable oca hook checks
2 participants