Skip to content

Commit

Permalink
Merge pull request #328 from Tecnativa/fix-precommit-bump_black_version
Browse files Browse the repository at this point in the history
Fix: precommit: bump black version
  • Loading branch information
Tardo authored Mar 30, 2022
2 parents 324a2b6 + fa54be8 commit 38970f2
Show file tree
Hide file tree
Showing 4 changed files with 961 additions and 794 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ repos:
rev: 20.8b1
hooks:
- id: black
additional_dependencies: ["click<8.1.0"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
Expand Down
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ repos:
rev: 20.8b1
hooks:
- id: black
additional_dependencies: ["click<8.1.0"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
Expand Down Expand Up @@ -104,7 +105,7 @@ repos:
files: /__init__\.py$
additional_dependencies: ["flake8-bugbear==20.1.4"]
- repo: https://github.com/pycqa/pylint
rev: pylint-2.5.3
rev: v2.11.1
hooks:
- id: pylint
name: pylint with optional checks
Expand All @@ -115,15 +116,15 @@ repos:
verbose: true
additional_dependencies:
- isort==4.3.21
- pylint-odoo==3.6.0
- pylint-odoo==5.0.5
- id: pylint
name: pylint with mandatory checks
args:
- --valid_odoo_versions={{ "%.1f"|format(odoo_version) }}
- --rcfile=.pylintrc-mandatory
additional_dependencies:
- isort==4.3.21
- pylint-odoo==3.6.0
- pylint-odoo==5.0.5
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.8.1
hooks:
Expand Down
Loading

0 comments on commit 38970f2

Please sign in to comment.