From a4d94ffdf5d5ddfbfa2d6130c84639aa925937f6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Feb 2023 00:01:52 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/adrienverge/yamllint.git: v1.28.0 → v1.29.0](https://github.com/adrienverge/yamllint.git/compare/v1.28.0...v1.29.0) - [github.com/lyz-code/yamlfix: 1.1.1 → 1.8.1](https://github.com/lyz-code/yamlfix/compare/1.1.1...1.8.1) - [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61401aa..e4da280 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,13 +21,13 @@ repos: hooks: - id: autopep8 - repo: https://github.com/adrienverge/yamllint.git - rev: v1.28.0 # or higher tag + rev: v1.29.0 # or higher tag hooks: - id: yamllint args: [--format, parsable, --strict] exclude: ^.github/ - repo: https://github.com/lyz-code/yamlfix - rev: 1.1.1 + rev: 1.8.1 hooks: - id: yamlfix exclude: ^.github/ @@ -41,7 +41,7 @@ repos: - id: pyupgrade args: [--py3-plus] - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.1.0 hooks: - id: black language_version: python3 From 11b98339056e998390ef2d2dbae889bcd0caf7fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Feb 2023 00:02:05 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 2 +- scripts/delete_torrents_on_low_disk_space.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e4da280..00ccfdb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: hooks: - id: autopep8 - repo: https://github.com/adrienverge/yamllint.git - rev: v1.29.0 # or higher tag + rev: v1.29.0 # or higher tag hooks: - id: yamllint args: [--format, parsable, --strict] diff --git a/scripts/delete_torrents_on_low_disk_space.py b/scripts/delete_torrents_on_low_disk_space.py index 7803b61..5ed87e5 100755 --- a/scripts/delete_torrents_on_low_disk_space.py +++ b/scripts/delete_torrents_on_low_disk_space.py @@ -126,7 +126,6 @@ def torrent_age_satisfied(torrent): def main(): - # If free space above requirements, terminate print_free_space() if is_storage_full():