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

[pre-commit.ci] pre-commit autoupdate #72

Open
wants to merge 2 commits 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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
rev: v0.9.6
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
Expand Down
3 changes: 1 addition & 2 deletions src/manifestoo/commands/check_licenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def _get_license_type_or_proprietary(
addon_license_type = get_license_type(addon_license)
if not addon_license_type:
echo.warning(
f"Unknown license {addon_license} for {addon.name}, "
"assuming Proprietary."
f"Unknown license {addon_license} for {addon.name}, assuming Proprietary."
)
return addon_license, LicenseType.PROPRIETARY
return addon_license, addon_license_type
Expand Down
Loading