Update pre-commit config and skip on pypy.

This commit is contained in:
Dain Nilsson 2020-02-22 12:00:32 +01:00
parent 7376b989a4
commit 46a0b649b9
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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/.*'