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
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 9.0.0b5
hooks:
- id: isort

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
rev: 7.3.0
hooks:
- id: flake8

- repo: https://github.com/psf/black
rev: 24.4.2
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1
hooks:
- id: black
additional_dependencies:
- click==8.0.4

- repo: https://github.com/PyCQA/pylint
rev: v3.1.0
rev: v4.0.7
hooks:
- id: pylint
args: [
Expand All @@ -26,25 +26,25 @@ repos:
]

- repo: https://github.com/PyCQA/bandit
rev: 1.7.8
rev: 1.9.4
hooks:
- id: bandit
exclude: ^tests/

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v2.3.1
hooks:
- id: mypy
additional_dependencies: ['types-PyYAML', 'types-requests', 'pytest']

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.4.3
hooks:
- id: codespell
args: ['--write-changes']

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -60,7 +60,7 @@ repos:
- id: no-commit-to-branch

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.2
rev: 0.38.0
hooks:
- id: check-jsonschema
name: Check movie schema
Expand Down
2 changes: 1 addition & 1 deletion mcu_calendar/webscraping.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class TvGenre(Enum):


def query_all_pages(
func: Callable[[TMDB.Discover, int, Dict[str, Any]], Dict[str, Any]]
func: Callable[[TMDB.Discover, int, Dict[str, Any]], Dict[str, Any]],
) -> Callable[[Dict[str, Any]], List[Dict[str, Any]]]:
"""
Function decorator that aggregates the results of func over multiple pages
Expand Down