Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 11abe02 commit cd8ff9b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lice2/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def check_default_license() -> str:
f"[red]Invalid default license '[b]{settings.default_license}"
"'[/b] in the configuration file, falling back to '[b]bsd3[/b]', "
"unless specified otherwise on the command line.\n\nCheck that [b]"
f"{settings.get_settings_folder()/settings.settings_file_name}[/b]'"
f"{settings.get_settings_folder() / settings.settings_file_name}[/b]'"
" has a valid value for [b]'default_license'[/b]."
)
panel = Panel(
Expand Down
3 changes: 1 addition & 2 deletions lice2/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ def main( # noqa: PLR0913
"--file",
"-f",
help=(
"Name of the output source file (with -l, "
"extension can be omitted)"
"Name of the output source file (with -l, extension can be omitted)"
),
),
*,
Expand Down
3 changes: 1 addition & 2 deletions lice2/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@ def generate_header(args: SimpleNamespace, lang: str) -> None:
template = load_package_template(args.license, header=True)
except OSError:
sys.stderr.write(
"Sorry, no source headers are available for "
f"{args.license}.\n"
f"Sorry, no source headers are available for {args.license}.\n"
)
raise typer.Exit(1) from None

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.4.0
click==8.1.7
colorama==0.4.6 ; platform_system == 'Windows'
colorama==0.4.6 ; sys_platform == 'win32'
cryptography==43.0.3
deprecated==1.2.14
github-changelog-md==0.9.5
Expand Down

0 comments on commit cd8ff9b

Please sign in to comment.