Updated pre-commit file (#89)

This commit is contained in:
Paolo Melchiorre 2022-12-04 01:14:56 +01:00 committed by GitHub
parent 2162b05968
commit c78e446d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 27 deletions

View File

@ -1,8 +1,8 @@
*.psql *.psql
*.sqlite3 *.sqlite3
notes.md
.git
.venv
.pre-commit-config.yaml
.env .env
.git
.pre-commit-config.yaml
.venv
media media
notes.md

View File

@ -1,18 +1,18 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0 rev: v4.4.0
hooks: hooks:
- id: check-case-conflict - id: check-case-conflict
- id: check-merge-conflict - id: check-merge-conflict
- id: check-yaml - id: check-yaml
- id: end-of-file-fixer - id: end-of-file-fixer
- id: file-contents-sorter - id: file-contents-sorter
args: ["--ignore-case"] args: ["--ignore-case", "--unique"]
files: "^.gitignore$" files: ^(\.gitignore|\.dockerignore|requirements[-\w]*.txt)$
- id: mixed-line-ending - id: mixed-line-ending
args: ["--fix=lf"] args: ["--fix=lf"]
- id: trailing-whitespace
- id: pretty-format-json - id: pretty-format-json
- id: trailing-whitespace
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.10.0 rev: 22.10.0
@ -26,12 +26,12 @@ repos:
args: ["--profile=black"] args: ["--profile=black"]
- repo: https://github.com/pycqa/flake8 - repo: https://github.com/pycqa/flake8
rev: 5.0.4 rev: 6.0.0
hooks: hooks:
- id: flake8 - id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.982 rev: v0.991
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: [types-pyopenssl, types-bleach, types-mock] additional_dependencies: [types-pyopenssl, types-bleach, types-mock]

View File

@ -1,9 +1,9 @@
-r requirements.txt -r requirements.txt
pre-commit~=2.20.0
black==22.10.0 black==22.10.0
flake8==5.0.4 flake8==5.0.4
isort==5.10.1 isort==5.10.1
mock~=4.0.3 mock~=4.0.3
pre-commit~=2.20.0
pytest-asyncio~=0.20.2 pytest-asyncio~=0.20.2
pytest-django~=4.5.2 pytest-django~=4.5.2
pytest-httpx~=0.21 pytest-httpx~=0.21

View File

@ -1,20 +1,20 @@
django~=4.1
pyld~=2.0.3
pillow~=9.3.0
urlman~=2.0.1
cryptography~=38.0
httpx~=0.23
uvicorn~=0.19
gunicorn~=20.1.0
psycopg2~=2.9.5
bleach~=5.0.1 bleach~=5.0.1
pydantic~=1.10.2 blurhash-python~=1.1.3
cryptography~=38.0
dj_database_url~=1.0.0
django-htmx~=1.13.0 django-htmx~=1.13.0
django-storages[google,boto3]~=1.13.1 django-storages[google,boto3]~=1.13.1
whitenoise~=6.2.0 django~=4.1
sphinx~=5.3.0
sentry-sdk~=1.11.0
dj_database_url~=1.0.0
python-dotenv~=0.21.0
email-validator~=1.3.0 email-validator~=1.3.0
blurhash-python~=1.1.3 gunicorn~=20.1.0
httpx~=0.23
pillow~=9.3.0
psycopg2~=2.9.5
pydantic~=1.10.2
pyld~=2.0.3
python-dotenv~=0.21.0
sentry-sdk~=1.11.0
sphinx~=5.3.0
urlman~=2.0.1
uvicorn~=0.19
whitenoise~=6.2.0