Skip to content

Commit

Permalink
Correct multiple occurrences of a tiny typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GreengagePlum committed Feb 11, 2024
1 parent 4d91197 commit 5948728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/rules/user_defined_rules/configuration_rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Configuration rules are special rules that are applied once per commit and **BEFORE** any other rules are run.
Configuration rules are meant to dynamically change gitlint's configuration and/or the commit that is about to be
linted.
A typically use-case for this is when you want to modifying gitlint's behavior for all rules against a commit matching
A typically use-case for this is when you want to modify gitlint's behavior for all rules against a commit matching
specific circumstances.

!!! warning
Expand Down
2 changes: 1 addition & 1 deletion gitlint-core/gitlint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def lint(ctx):
config_builder.set_config_from_commit(commit)

# Create a deepcopy from the original config, so we have a unique config object per commit
# This is important for configuration rules to be able to modifying the config on a per commit basis
# This is important for configuration rules to be able to modify the config on a per commit basis
commit_config = config_builder.build(copy.deepcopy(lint_config))

# Actually do the linting
Expand Down

0 comments on commit 5948728

Please sign in to comment.