mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
Compare commits
No commits in common. "6fbd239d8fa89d9fba32fee62afe2e48dbf4c8c1" and "d258915f8e3a087c1b746bf3790b146d272f7207" have entirely different histories.
6fbd239d8f
...
d258915f8e
2 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ repos:
|
||||||
- id: django-upgrade
|
- id: django-upgrade
|
||||||
args: [--target-version, "4.1"]
|
args: [--target-version, "4.1"]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.12.0
|
rev: 23.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--target-version, py311]
|
args: [--target-version, py311]
|
||||||
|
@ -40,17 +40,17 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: djhtml
|
- id: djhtml
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.1.8
|
rev: v0.1.7
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v4.0.0-alpha.7
|
rev: v4.0.0-alpha.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
types_or: [javascript, css]
|
types_or: [javascript, css]
|
||||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||||
rev: v8.56.0
|
rev: v8.55.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: eslint
|
- id: eslint
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
|
|
@ -21,10 +21,10 @@ class Migration(migrations.Migration):
|
||||||
null=True,
|
null=True,
|
||||||
upload_to="profile_pictures",
|
upload_to="profile_pictures",
|
||||||
validators=[
|
validators=[
|
||||||
functools.partial(
|
functools.partial( # noqa: PIE804
|
||||||
character.models.character.validate_image,
|
character.models.character.validate_image,
|
||||||
*(),
|
*(),
|
||||||
megabytes_limit=2,
|
**{"megabytes_limit": 2},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
verbose_name="image de profil",
|
verbose_name="image de profil",
|
||||||
|
|
Loading…
Reference in a new issue