mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-12-18 14:49:07 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a4d94ffdf5
commit
11b9833905
2 changed files with 1 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: autopep8
|
- id: autopep8
|
||||||
- repo: https://github.com/adrienverge/yamllint.git
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
rev: v1.29.0 # or higher tag
|
rev: v1.29.0 # or higher tag
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
args: [--format, parsable, --strict]
|
args: [--format, parsable, --strict]
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,6 @@ def torrent_age_satisfied(torrent):
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
# If free space above requirements, terminate
|
# If free space above requirements, terminate
|
||||||
print_free_space()
|
print_free_space()
|
||||||
if is_storage_full():
|
if is_storage_full():
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue