Skip to content

Commit

Permalink
style: pylint updated to 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 26, 2024
1 parent e8727d5 commit 1a89d15
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions pikaur/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ def parse_pikaur_args(self, raw_args: list[str]) -> PikaurArgs:

def add_letter_andor_opt(
self,
*,
action: str | None = None,
letter: str | None = None,
opt: str | None = None,
Expand Down
1 change: 1 addition & 0 deletions pikaur/install_info_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class InstallInfoFetcher(ComparableType): # noqa: PLR0904

def __init__(
self,
*,
install_package_names: list[str],
not_found_repo_pkgs_names: list[str],
manually_excluded_packages_names: list[str],
Expand Down
9 changes: 6 additions & 3 deletions pikaur/pikasay.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,12 @@ def bubble_right(
)


def pikasay( # noqa: PLR0917
text: str, margin: int = 1, padding: int = 1, width: int | None = None,
orientation: str = "horizontal", mascot_pic: str = PIKAPIC,
def pikasay(
text: str,
*,
margin: int = 1, padding: int = 1, width: int | None = None,
orientation: str = "horizontal",
mascot_pic: str = PIKAPIC,
) -> None:
if orientation == "horizontal":
message = "".join((
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ max-bool-expr = '6'
max-branches = '12'
max-locals = '15'
max-parents = '7'
min-public-methods = '2'
max-public-methods = '20'
max-returns = '6'
max-statements = '50'
min-public-methods = '2'

[tool.pylint.EXCEPTIONS]
overgeneral-exceptions = ''

0 comments on commit 1a89d15

Please sign in to comment.