summaryrefslogtreecommitdiffstats
path: root/examples/my_configuration_rules.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/my_configuration_rules.py')
-rw-r--r--examples/my_configuration_rules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/my_configuration_rules.py b/examples/my_configuration_rules.py
index 872440f..f153b5e 100644
--- a/examples/my_configuration_rules.py
+++ b/examples/my_configuration_rules.py
@@ -39,6 +39,7 @@ class ReleaseConfigurationRule(ConfigurationRule):
options_spec = [IntOption('custom-verbosity', 2, "Gitlint verbosity for release commits")]
def apply(self, config, commit):
+ self.log.debug("ReleaseConfigurationRule: This line will be visible when running `gitlint --debug`")
# If the commit title starts with 'Release', we want to modify
# how all subsequent rules interpret that commit