Skip to content

Commit

Permalink
chores(deps): pre-commit autoupdate (#565)
Browse files Browse the repository at this point in the history
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](psf/black@23.1.0...23.3.0)

* test: don't cover compat.py
* test: don't cover __main__.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: W. Augusto Andreoli <andreoliwa@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and andreoliwa committed Apr 5, 2023
1 parent 8a9366b commit 3f08c3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ repos:
compat.py,
]
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
args: [--safe, --quiet]
Expand Down
1 change: 1 addition & 0 deletions src/nitpick/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- https://www.python.org/dev/peps/pep-0338/
- https://docs.python.org/3/using/cmdline.html#cmdoption-m
"""
# pragma: no cover
from nitpick.cli import nitpick_cli

if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion src/nitpick/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
try:
from importlib.abc import Traversable # type: ignore[attr-defined]
from importlib.resources import files # type: ignore[attr-defined]
except ImportError:
except ImportError: # pragma: no cover
from importlib_resources import files
from importlib_resources.abc import Traversable

0 comments on commit 3f08c3d

Please sign in to comment.