Skip to content

Commit

Permalink
chore: run pre-commit run ruff-format -a
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner authored and renovate[bot] committed Feb 25, 2024
1 parent 4ca5dc7 commit d4f276b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deptry/deprecate/ignore_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def generate_deprecation_warning(flag_name: str, issue_code: str, sequence: tupl
sequence_as_list_string = "[" + ", ".join(f'"{x}"' for x in sequence) + "]"
return (
f"Warning: In an upcoming release, support for the `--{flag_name}` command-line option and the"
f" `{flag_name.replace('-','_')}` configuration parameter will be discontinued. Instead, use"
f" `{flag_name.replace('-', '_')}` configuration parameter will be discontinued. Instead, use"
f" `--per-rule-ignores {issue_code}={'|'.join(sequence)}` or add a line `{issue_code} ="
f" {sequence_as_list_string}` to the `[tool.deptry.per_rule_ignores]` section of the configuration file."
)
Expand Down
2 changes: 1 addition & 1 deletion deptry/deprecate/skip_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def generate_deprecation_warning(flag_name: str, issue_code: str) -> str:
return (
f"Warning: In an upcoming release, support for the `--{flag_name}` command-line option and the"
f" `{flag_name.replace('-','_')}` configuration parameter will be discontinued. Instead, use `--ignore"
f" `{flag_name.replace('-', '_')}` configuration parameter will be discontinued. Instead, use `--ignore"
f" {issue_code}` or add a line `ignore = ['{issue_code}']` to the `[tool.deptry]` section of the configuration"
" file."
)
Expand Down

0 comments on commit d4f276b

Please sign in to comment.