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

Correct multiple occurrences of a tiny typo #542

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading