Skip to content

Commit a56b12c

Browse files
Merge branch 'master' of https://github.com/scikit-hep/hepunits
2 parents fe78ea2 + 3da957a commit a56b12c

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,22 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-python@v2
16-
- uses: pre-commit/[email protected]
1716
- name: Check manifest
18-
uses: pre-commit/[email protected].2
17+
uses: pre-commit/[email protected].3
1918
with:
20-
extra_args: --hook-stage manual check-manifest
19+
extra_args: --hook-stage manual
2120

2221
checks:
2322
runs-on: ubuntu-latest
2423
strategy:
2524
fail-fast: false
2625
matrix:
2726
python-version:
28-
- 2.7
29-
- 3.5
30-
- 3.8
31-
- 3.9
32-
- "3.10-dev"
27+
- "2.7"
28+
- "3.5"
29+
- "3.8"
30+
- "3.9"
31+
- "3.10"
3332

3433
name: Check Python ${{ matrix.python-version }}
3534
steps:
@@ -47,5 +46,5 @@ jobs:
4746
run: python -m pytest --doctest-modules --cov=src/hepunits --cov-report=xml
4847

4948
- name: Test coverage with Codecov
50-
if: "matrix.python-version != 3.5 && matrix.python-version != 3.8"
49+
if: matrix.python-version != '3.5' && matrix.python-version != '3.8'
5150
uses: codecov/codecov-action@v2

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
repos:
33
- repo: https://github.com/psf/black
4-
rev: 21.9b0
4+
rev: 21.12b0
55
hooks:
66
- id: black
77

88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.0.1
9+
rev: v4.1.0
1010
hooks:
1111
- id: debug-statements
1212
- id: end-of-file-fixer
@@ -33,13 +33,13 @@ repos:
3333
additional_dependencies: [flake8-bugbear, flake8-print]
3434

3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v0.910-1
36+
rev: v0.930
3737
hooks:
3838
- id: mypy
3939
args: [--strict]
4040
files: src
4141

4242
- repo: https://github.com/asottile/pyupgrade
43-
rev: v2.29.0
43+
rev: v2.31.0
4444
hooks:
4545
- id: pyupgrade

0 commit comments

Comments
 (0)