[pre-commit.ci] pre-commit autoupdate (#430)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.9.1 → 23.10.1](https://github.com/psf/black/compare/23.9.1...23.10.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot] 2023-10-25 08:30:05 -04:00 committed by GitHub
parent 24ba90ffea
commit db8b5d55d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 1 deletions

View file

@ -41,7 +41,7 @@ repos:
- id: pyupgrade - id: pyupgrade
args: [--py3-plus] args: [--py3-plus]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 23.9.1 rev: 23.10.1
hooks: hooks:
- id: black - id: black
language_version: python3 language_version: python3

View file

@ -1,4 +1,5 @@
"""Apprise notification class""" """Apprise notification class"""
import time import time
from modules import util from modules import util

View file

@ -1,4 +1,5 @@
"""Module for BeyondHD (BHD) tracker.""" """Module for BeyondHD (BHD) tracker."""
from json import JSONDecodeError from json import JSONDecodeError
from modules import util from modules import util

View file

@ -1,4 +1,5 @@
"""Config class for qBittorrent-Manage""" """Config class for qBittorrent-Manage"""
import os import os
import re import re
import stat import stat

View file

@ -1,4 +1,5 @@
"""Logging module""" """Logging module"""
import io import io
import logging import logging
import os import os

View file

@ -1,4 +1,5 @@
"""Qbittorrent Module""" """Qbittorrent Module"""
import os import os
import sys import sys

View file

@ -1,4 +1,5 @@
""" Utility functions for qBit Manage. """ """ Utility functions for qBit Manage. """
import json import json
import logging import logging
import os import os

View file

@ -1,4 +1,5 @@
"""Class to handle webhooks.""" """Class to handle webhooks."""
import time import time
from json import JSONDecodeError from json import JSONDecodeError

View file

@ -4,6 +4,7 @@ You can also allow incomplete torrents to be deleted.
Torrents will be deleted starting with the ones with the most seeds, only torrents with a single hardlink will be deleted. Torrents will be deleted starting with the ones with the most seeds, only torrents with a single hardlink will be deleted.
Only torrents on configured drive path will be deleted. To monitor multiple drives, use multiple copies of this script. Only torrents on configured drive path will be deleted. To monitor multiple drives, use multiple copies of this script.
""" """
import os import os
import shutil import shutil
import time import time