Skip to content

Commit

Permalink
build(pre-commit.ci): pre-commit autoupdate (#196)
Browse files Browse the repository at this point in the history
* build(pre-commit.ci): pre-commit autoupdate

updates:
- [github.com/PyCQA/docformatter: v1.6.0-rc1 → v1.5.1](PyCQA/docformatter@v1.6.0-rc1...v1.5.1)
- [github.com/pre-commit/mirrors-mypy: v0.991 → v1.0.1](pre-commit/mirrors-mypy@v0.991...v1.0.1)
- [github.com/pdm-project/pdm: 2.4.3 → 2.4.7](pdm-project/pdm@2.4.3...2.4.7)
- [github.com/dosisod/refurb: v1.11.0 → v1.13.0](dosisod/refurb@v1.11.0...v1.13.0)
- [github.com/FHPythonUtils/LicenseCheck: 60e3b8e1ec4f2e9817fa0a02a9c4a3c20c49d560 → 2023](FHPythonUtils/LicenseCheck@60e3b8e...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 <raczyckikamil@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and RaczeQ authored Mar 7, 2023
1 parent 7a70cdd commit dc38592
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 5 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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]
Expand Down
13 changes: 13 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dc38592

Please sign in to comment.