qbit_manage/.pre-commit-config.yaml
bobokun f4dcc3900c
4.1.3 (#542)
* 4.1.3-develop1

* removes `ignoreTags_OnUpdate` setting as it was confusing for users
- Adds cache for tag updates
- Updates doc to include cat in tracker

* Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#537)

* Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0

Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

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

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* minor bug fix in process torrent issues

* remove force_retag setting since it's no longer valid with the new tag-update

* move hotio webhook to start earlier

* adds better trace logs for share limits #533

* Adds #538

* [pre-commit.ci] pre-commit autoupdate (#539)

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

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

* [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>

* add additional trace logs for noHL

* nohl config fixes

* Fixes #540

* adds cron scheduling support

* minor bug fix in rounding minutes

* bugfixes in cron scheduling

* don't spam the logs

* chore: Update qbit_manage.py to display next run time after first cron run

* remove spam in logs

* QOL improvement: Refactor time parsing logic for share limits

* bug fix in new parse data

* 4.1.3

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-05 14:07:36 -04:00

72 lines
1.9 KiB
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: debug-statements
- id: requirements-txt-fixer
- id: check-added-large-files
- id: fix-byte-order-marker
- id: fix-encoding-pragma
args: [--remove]
- id: pretty-format-json
args: [--autofix, --indent, '4', --no-sort-keys]
- repo: https://github.com/hhatto/autopep8
rev: v2.1.0
hooks:
- id: autopep8
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1 # or higher tag
hooks:
- id: yamllint
args: [--format, parsable, --strict]
exclude: ^.github/
- repo: https://github.com/lyz-code/yamlfix
rev: 1.16.0
hooks:
- id: yamlfix
exclude: ^.github/
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: [--force-single-line-imports, --profile, black]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py3-plus]
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
language_version: python3
args: [--line-length, '130']
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
args: [--config=.flake8]
- repo: local
hooks:
- id: increase-version
name: Increase version if branch contains "develop"
entry: ./scripts/pre-commit/increase_version.sh
language: script
pass_filenames: false
stages: [commit]
- repo: local
hooks:
- id: update-readme-version
name: Update readme version
entry: ./scripts/pre-commit/update-readme-version.sh
language: script
pass_filenames: false
stages: [commit]