0e28c7ed7c
Moves Gfycat to use API via site access key. Adds cachetools as dependency to reuse API keys for Gfycat/Redgifs at 95% of their TTL. Include tests to verify caching. Updates versions of requests/yt-dlp/black/isort/pytest. Added default timeout to requests calls. Adds validate-pyproject and blacken-docs to pre-commit as well as updates versions.
36 lines
837 B
YAML
36 lines
837 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.12.1
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.1.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [Flake8-pyproject]
|
|
|
|
- repo: https://github.com/markdownlint/markdownlint
|
|
rev: v0.12.0
|
|
hooks:
|
|
- id: markdownlint
|
|
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
rev: 1.13.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies: [black>=23.1.0]
|