fix(ci): Update pre-commit hooks and apply new black (#4359)

* fix(ci): Update pre-commit hooks and apply new black

* remove empty docstring
This commit is contained in:
Dhruv Manilawala 2021-04-26 11:16:50 +05:30 committed by GitHub
parent 69457357e8
commit 6f21f76696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 26 additions and 27 deletions

View File

@ -14,7 +14,7 @@ jobs:
~/.cache/pip
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/setup-python@v2
- uses: psf/black@20.8b1
- uses: psf/black@21.4b0
- name: Install pre-commit
run: |
python -m pip install --upgrade pip

View File

@ -13,17 +13,17 @@ repos:
)$
- id: requirements-txt-fixer
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.4b0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
rev: 5.8.0
hooks:
- id: isort
args:
- --profile=black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
rev: 3.9.1
hooks:
- id: flake8
args:

View File

@ -94,7 +94,6 @@ def not32(i):
def sum32(a, b):
""""""
return (a + b) % 2 ** 32