Skip to content

Commit

Permalink
chore: pre-commit autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Mar 13, 2024
1 parent 097cdba commit 6d63c27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.2.2'
rev: 'v0.3.2'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
6 changes: 3 additions & 3 deletions web/b3desk/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ def get_allowed_mime_types_server_side(

return allowed_mime_types_server_side

ACCEPTED_FILES_CLIENT_SIDE: Optional[
str
] = "image/*,.pdf,.doc,.docx,.htm,.html,.odp,.ods,.odt,.ppt,.pptx,.xls,.xlsx"
ACCEPTED_FILES_CLIENT_SIDE: Optional[str] = (
"image/*,.pdf,.doc,.docx,.htm,.html,.odp,.ods,.odt,.ppt,.pptx,.xls,.xlsx"
)
"""Liste de mime-types autorisés par le navigateur pour le téléversement
des fichiers, séparés par des virgules.
Expand Down
6 changes: 3 additions & 3 deletions web/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ def test_documentation__authenticated_user(client_app, authenticated_user):


def test_documentation_with_redirection(client_app):
client_app.app.config["DOCUMENTATION_LINK"][
"url"
] = "https://documentation_redirect.ion"
client_app.app.config["DOCUMENTATION_LINK"]["url"] = (
"https://documentation_redirect.ion"
)
client_app.app.config["DOCUMENTATION_LINK"]["is_external"] = True
response = client_app.get("/documentation", status=302)

Expand Down

0 comments on commit 6d63c27

Please sign in to comment.