Spaces:
Sleeping
Sleeping
| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v4.5.0 | |
| hooks: | |
| - id: trailing-whitespace | |
| - id: end-of-file-fixer | |
| - id: check-yaml | |
| - id: check-added-large-files | |
| - id: check-ast | |
| - id: check-json | |
| - id: check-merge-conflict | |
| - id: detect-private-key | |
| - id: debug-statements | |
| - repo: https://github.com/psf/black | |
| rev: 24.1.1 | |
| hooks: | |
| - id: black | |
| language_version: python3.8 | |
| - repo: https://github.com/pycqa/isort | |
| rev: 5.13.2 | |
| hooks: | |
| - id: isort | |
| args: ["--profile", "black"] | |
| - repo: https://github.com/pycqa/flake8 | |
| rev: 7.0.0 | |
| hooks: | |
| - id: flake8 | |
| additional_dependencies: | |
| - flake8-docstrings | |
| - flake8-bugbear | |
| - flake8-comprehensions | |
| - flake8-simplify | |
| - flake8-unused-arguments | |
| - flake8-variables-names | |
| - pep8-naming | |
| - repo: https://github.com/pre-commit/mirrors-mypy | |
| rev: v1.8.0 | |
| hooks: | |
| - id: mypy | |
| additional_dependencies: | |
| - types-Pillow | |
| - types-requests | |
| - types-setuptools | |
| - types-urllib3 | |
| - repo: https://github.com/asottile/pyupgrade | |
| rev: v3.15.0 | |
| hooks: | |
| - id: pyupgrade | |
| args: [--py38-plus] | |
| - repo: https://github.com/PyCQA/bandit | |
| rev: 1.7.7 | |
| hooks: | |
| - id: bandit | |
| args: ["-c", "pyproject.toml"] | |
| additional_dependencies: ["bandit[toml]"] | |
| - repo: https://github.com/pre-commit/mirrors-prettier | |
| rev: v4.0.0-alpha.8 | |
| hooks: | |
| - id: prettier | |
| types_or: [javascript, jsx, ts, tsx, json, css, scss, md, yaml, yml] | |
| additional_dependencies: | |
| - [email protected] |