Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Feb 7, 2024
1 parent 0e8d86f commit 650a620
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.2.0
hooks:
- id: ruff
args:
Expand All @@ -22,7 +22,7 @@ repos:
- --in-place
- --remove-all-unused-imports
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
args:
Expand All @@ -35,7 +35,7 @@ repos:
- --quiet-level=2
exclude_types: [csv, json]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.6
rev: 1.7.7
hooks:
- id: bandit
args:
Expand Down
1 change: 1 addition & 0 deletions src/aioapcaccess/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Contains async functions to extract and parse the status of the apcupsd NIS."""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Sample raw status and its parsed dict."""

from collections import OrderedDict

SAMPLE_STATUS = (
Expand Down
1 change: 1 addition & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test functions for aioapcaccess."""

import asyncio
from unittest.mock import MagicMock, patch

Expand Down

0 comments on commit 650a620

Please sign in to comment.