Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/scikit-hep/hepunits
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues committed Jan 5, 2022
2 parents fe78ea2 + 3da957a commit a56b12c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Expand Up @@ -13,23 +13,22 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.2
- name: Check manifest
uses: pre-commit/action@v2.0.2
uses: pre-commit/action@v2.0.3
with:
extra_args: --hook-stage manual check-manifest
extra_args: --hook-stage manual

checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- 2.7
- 3.5
- 3.8
- 3.9
- "3.10-dev"
- "2.7"
- "3.5"
- "3.8"
- "3.9"
- "3.10"

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

- name: Test coverage with Codecov
if: "matrix.python-version != 3.5 && matrix.python-version != 3.8"
if: matrix.python-version != '3.5' && matrix.python-version != '3.8'
uses: codecov/codecov-action@v2
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
@@ -1,12 +1,12 @@

repos:
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 21.12b0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: debug-statements
- id: end-of-file-fixer
Expand All @@ -33,13 +33,13 @@ repos:
additional_dependencies: [flake8-bugbear, flake8-print]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1
rev: v0.930
hooks:
- id: mypy
args: [--strict]
files: src

- repo: https://github.com/asottile/pyupgrade
rev: v2.29.0
rev: v2.31.0
hooks:
- id: pyupgrade

0 comments on commit a56b12c

Please sign in to comment.