Bump pre-commit checks

This commit is contained in:
Gabriel Augendre 2022-02-24 20:38:43 +01:00
parent 446ac0208a
commit 77cd677929
4 changed files with 9 additions and 10 deletions

View file

@ -25,11 +25,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.1.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.30.0
rev: v2.31.0
hooks:
- id: pyupgrade
args:
@ -40,13 +40,13 @@ repos:
- id: django-upgrade
args: [--target-version, "4.0"]
- repo: https://github.com/rtts/djhtml
rev: v1.4.11
rev: v1.5.0
hooks:
- id: djhtml
- repo: https://github.com/mcarans/flakehell
rev: 1b84f4dd6c16232b5c0c6206511427676ab55f5b
- repo: https://github.com/flakeheaven/flakeheaven
rev: 0.11.0
hooks:
- id: flakehell
- id: flakeheaven
additional_dependencies:
- flake8-annotations-complexity
- flake8-builtins
@ -63,7 +63,7 @@ repos:
- id: prettier
types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.5.0
rev: v8.9.0
hooks:
- id: eslint
args: [--fix]

View file

@ -22,4 +22,3 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>

View file

@ -44,7 +44,7 @@ types-beautifulsoup4 = "^4.10.7"
types-Pillow = "^8.3.11"
[tool.black]
target-version = ['py38']
target-version = ['py310']
[tool.isort]
profile = "black"