Skip to content

Commit 534fe51

Browse files
authored
Update pre-commit versions and add coverage report to gh actions (#68)
1 parent f54e5f2 commit 534fe51

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
pip install -r tests/requirements.txt
3131
- name: Test with pytest
3232
run: |
33-
pytest
33+
pytest --cov-report= --cov=btrdb # suppress coverage report here
34+
- name: Coverage Report
35+
run: |
36+
coverage report -m
3437
3538
3639
release:

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.4.0
3+
rev: v4.5.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
exclude: ^(setup.cfg|btrdb/grpcinterface)
99
- repo: https://github.com/psf/black
10-
rev: 23.3.0
10+
rev: 23.12.0
1111
hooks:
1212
- id: black-jupyter
1313
args: [--line-length=88]
1414
exclude: btrdb/grpcinterface/.*\.py
1515
- repo: https://github.com/pycqa/isort
16-
rev: 5.11.5
16+
rev: 5.13.2
1717
hooks:
1818
- id: isort
1919
name: isort (python)
2020
args: [--profile=black, --line-length=88]
2121
exclude: btrdb/grpcinterface/.*\.py
2222
- repo: https://github.com/PyCQA/flake8
23-
rev: 6.0.0
23+
rev: 6.1.0
2424
hooks:
2525
- id: flake8
2626
args: [--config=setup.cfg]

0 commit comments

Comments
 (0)