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
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 0cd9abf commit f63a31b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nitpick/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
help=Flake8OptionEnum.OFFLINE.value,
)
@click.version_option()
def nitpick_cli(project: Path | None = None, offline=False): # pylint: disable=unused-argument # noqa: ARG001
def nitpick_cli(project: Path | None = None, offline=False): # pylint: disable=unused-argument
"""Enforce the same settings across multiple language-independent projects."""


Expand Down
2 changes: 1 addition & 1 deletion src/nitpick/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def plugin_class() -> type[NitpickPlugin]: # type: ignore[empty-body]


@hookspec
def can_handle(info: FileInfo) -> type[NitpickPlugin] | None: # pylint: disable=unused-argument # noqa: ARG001
def can_handle(info: FileInfo) -> type[NitpickPlugin] | None: # pylint: disable=unused-argument
"""Return a valid :py:class:`nitpick.plugins.base.NitpickPlugin` instance or ``None``.
:return: A plugin instance if your plugin handles this file info (path or any of its ``identify`` tags).
Expand Down

0 comments on commit f63a31b

Please sign in to comment.