Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
hooks:
- id: sync-pre-commit-deps
- repo: https://github.com/peterdemin/pip-compile-multi
rev: v3.2.1
rev: v3.2.2
hooks:
- id: pip-compile-multi-verify
files: ^requirements/.*\.(in|txt)$
Expand All @@ -50,18 +50,18 @@ repos:
]
files: ^requirements/.*\.txt$
- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
rev: v3.21.0
hooks:
- id: pyupgrade
args: ['--keep-runtime-typing', '--py311-plus']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
rev: v0.14.1
hooks:
- id: ruff-check
args: ['--fix', '--exit-non-zero-on-fix']
- id: ruff-format
- repo: https://github.com/PyCQA/pylint
rev: v3.3.7
rev: v4.0.2
hooks:
- id: pylint
args: [
Expand All @@ -73,17 +73,17 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/fredrikaverpil/creosote
rev: v4.0.3
rev: v4.1.0
hooks:
- id: creosote
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: v0.11.0.1
hooks:
- id: shellcheck
args:
- --external-sources
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down Expand Up @@ -124,7 +124,7 @@ repos:
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/pycontribs/mirrors-prettier
rev: v3.6.0
rev: v3.6.2
hooks:
- id: prettier
- repo: https://github.com/ducminh-phan/reformat-gherkin
Expand Down
2 changes: 1 addition & 1 deletion funnel/models/shortlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def new(
cls,
url: str | furl,
*,
name: Literal[None] = None,
name: None = None,
shorter: bool = False,
reuse: Literal[True] = True,
actor: Account | None = None,
Expand Down
2 changes: 1 addition & 1 deletion funnel/utils/jinja_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def jinja_global(*, init: Literal[False] = False) -> Any: # noqa: ARG001
return ...


def jinja_undefined(*, default: Literal[None] = None) -> Any: # noqa: ARG001
def jinja_undefined(*, default: None = None) -> Any: # noqa: ARG001
"""Sentinel for an optional Jinja2 context variable."""
return ...

Expand Down
Loading