mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-10 16:30:54 +08:00
Merge branch 'master' of https://github.com/StuffAnThings/qbit_manage into develop
* 'master' of https://github.com/StuffAnThings/qbit_manage: [pre-commit.ci] auto fixes from pre-commit.com hooks [pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
e7a86825d0
2 changed files with 3 additions and 4 deletions
|
|
@ -21,13 +21,13 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: autopep8
|
- id: autopep8
|
||||||
- repo: https://github.com/adrienverge/yamllint.git
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
rev: v1.28.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]
|
||||||
exclude: ^.github/
|
exclude: ^.github/
|
||||||
- repo: https://github.com/lyz-code/yamlfix
|
- repo: https://github.com/lyz-code/yamlfix
|
||||||
rev: 1.1.1
|
rev: 1.8.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamlfix
|
- id: yamlfix
|
||||||
exclude: ^.github/
|
exclude: ^.github/
|
||||||
|
|
@ -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: 22.12.0
|
rev: 23.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3
|
language_version: python3
|
||||||
|
|
|
||||||
|
|
@ -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