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