From dc3859279608bff619b2fa1c411d6077a9f7a400 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Mar 2023 10:39:39 +0100 Subject: [PATCH] build(pre-commit.ci): pre-commit autoupdate (#196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build(pre-commit.ci): pre-commit autoupdate updates: - [github.com/PyCQA/docformatter: v1.6.0-rc1 → v1.5.1](https://github.com/PyCQA/docformatter/compare/v1.6.0-rc1...v1.5.1) - [github.com/pre-commit/mirrors-mypy: v0.991 → v1.0.1](https://github.com/pre-commit/mirrors-mypy/compare/v0.991...v1.0.1) - [github.com/pdm-project/pdm: 2.4.3 → 2.4.7](https://github.com/pdm-project/pdm/compare/2.4.3...2.4.7) - [github.com/dosisod/refurb: v1.11.0 → v1.13.0](https://github.com/dosisod/refurb/compare/v1.11.0...v1.13.0) - [github.com/FHPythonUtils/LicenseCheck: 60e3b8e1ec4f2e9817fa0a02a9c4a3c20c49d560 → 2023](https://github.com/FHPythonUtils/LicenseCheck/compare/60e3b8e1ec4f2e9817fa0a02a9c4a3c20c49d560...2023) * chore: update license-check * ci: add codecov.yml config file * ci: increase codecov upload retry count and delay --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kamil Raczycki --- .github/workflows/_tests.yml | 4 ++-- .pre-commit-config.yaml | 11 +++++------ codecov.yml | 13 +++++++++++++ 3 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/_tests.yml b/.github/workflows/_tests.yml index 91f5c39f..59919a71 100644 --- a/.github/workflows/_tests.yml +++ b/.github/workflows/_tests.yml @@ -55,5 +55,5 @@ jobs: files: ./coverage.python${{ matrix.python-version }}.xml, flags: ${{ matrix.os }}-python${{ matrix.python-version }} verbose: true - attempt_limit: 10 - attempt_delay: 2000 + attempt_limit: 100 + attempt_delay: 10000 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd1162f8..f088c72e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: isort name: isort (python) - repo: https://github.com/PyCQA/docformatter - rev: v1.6.0-rc1 + rev: v1.5.1 hooks: - id: docformatter additional_dependencies: [tomli] @@ -34,12 +34,12 @@ repos: additional_dependencies: - flake8-bugbear - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.991 + rev: v1.0.1 hooks: - id: mypy additional_dependencies: ["types-requests"] - repo: https://github.com/pdm-project/pdm - rev: 2.4.3 + rev: 2.4.7 hooks: - id: pdm-lock-check - id: pdm-export @@ -61,15 +61,14 @@ repos: - id: check-added-large-files - id: detect-private-key - repo: https://github.com/dosisod/refurb - rev: v1.11.0 + rev: v1.13.0 hooks: - id: refurb language: python language_version: python3.10 stages: [manual] - repo: https://github.com/FHPythonUtils/LicenseCheck - rev: "60e3b8e1ec4f2e9817fa0a02a9c4a3c20c49d560" - # change to "2023.0.1" after tag will be created + rev: "2023.1.1" hooks: - id: licensecheck stages: [manual] diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..3725b8cc --- /dev/null +++ b/codecov.yml @@ -0,0 +1,13 @@ +coverage: + status: + project: + default: + target: auto + informational: true + threshold: 1% # the leniency in hitting the target + patch: + default: + informational: true + +comment: + require_changes: true