Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#57)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and ssbarnea authored Dec 24, 2022
1 parent 2037b07 commit 5355671
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
18 changes: 12 additions & 6 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ format = pylint
extend-ignore =
E203,
E501,
C901, # complexity is also measured by pylint: too-many-branches
DAR104, # We use type annotations instead
DAR301, # https://github.com/terrencepreilly/darglint/issues/165
F401, # duplicate of pylint W0611 (unused-import)
F821, # duplicate of pylint E0602 (undefined-variable)
F841, # duplicate of pylint W0612 (unused-variable)
# complexity is also measured by pylint: too-many-branches
C901,
# We use type annotations instead
DAR104,
# https://github.com/terrencepreilly/darglint/issues/165
DAR301,
# duplicate of pylint W0611 (unused-import)
F401,
# duplicate of pylint E0602 (undefined-variable)
F821,
# duplicate of pylint W0612 (unused-variable)
F841,
H,
# 88 is official black default:
max-line-length = 88
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
repos:
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -17,15 +17,15 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v0.991
hooks:
- id: mypy
- repo: https://github.com/ansible/ansible-lint
rev: v6.8.7
rev: v6.10.0
hooks:
- id: ansible-lint
- repo: https://github.com/openstack-dev/bashate.git
Expand Down

0 comments on commit 5355671

Please sign in to comment.