Update dipendency

This commit is contained in:
Matteo
2021-03-31 12:05:02 +02:00
parent 4b3b9e0390
commit 2aab0dbd74
2 changed files with 19 additions and 12 deletions

View File

@@ -1,32 +1,39 @@
fail_fast: true
repos:
- repo: https://github.com/twu/skjold
rev: v0.1.6
hooks:
- id: skjold
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-merge-conflict
- id: detect-private-key
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: fix-encoding-pragma
- id: forbid-new-submodules
- id: mixed-line-ending
- id: trailing-whitespace
language: python
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.8.0 # Use the ref you want to point at
hooks:
- id: python-no-eval
- id: python-no-log-warn
- id: python-use-type-annotations
- repo: https://github.com/asottile/pyupgrade
rev: v2.11.0
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
language_version: python3.8
language_version: python3.9
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
rev: 3.9.0
hooks:
- id: flake8
- repo: https://github.com/asottile/blacken-docs
rev: v1.9.1
rev: v1.10.0
hooks:
- id: blacken-docs

View File

@@ -11,10 +11,10 @@ pre-commit= "*"
skjold = "*"
[packages]
django = ">=3.1.0"
gunicorn = ">=20.0.0"
psycopg2 = ">=2.8.0"
django-filter = ">=2.3.0"
django = ">=3.1.7"
gunicorn = ">=20.1.0"
psycopg2 = ">=2.8.6"
django-filter = ">=2.4.0"
django-guardian = ">=2.3.0"
[requires]