mirror of https://github.com/Yubico/python-fido2
Update pre-commit config and skip on pypy.
This commit is contained in:
parent
7376b989a4
commit
46a0b649b9
|
@ -41,7 +41,7 @@ jobs:
|
|||
pipenv install --skip-lock --dev
|
||||
|
||||
- name: Run pre-commit
|
||||
if: matrix.python != '3.5'
|
||||
if: "!startsWith(matrix.python, 'pypy') && matrix.python != '3.5'"
|
||||
run: |
|
||||
python -m pip install pre-commit
|
||||
pre-commit run --all-files
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
repos:
|
||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.0.0
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.7.9
|
||||
hooks:
|
||||
- id: flake8
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 19.3b0
|
||||
rev: 19.10b0
|
||||
hooks:
|
||||
- id: black
|
||||
exclude: '^(fido2|test)/_pyu2f/.*'
|
||||
|
|
Loading…
Reference in New Issue