CoolFace
Apppublic

votepurchase/DeepDanbooru

sourceHugging Faceupdated 2y agoView on Hugging Face
1likes
.pre-commit-config.yaml61 linesDownload Raw Back to root
1repos:2  - repo: https://github.com/pre-commit/pre-commit-hooks3    rev: v4.5.04    hooks:5      - id: check-executables-have-shebangs6      - id: check-json7      - id: check-merge-conflict8      - id: check-shebang-scripts-are-executable9      - id: check-toml10      - id: check-yaml11      - id: end-of-file-fixer12      - id: mixed-line-ending13        args: ["--fix=lf"]14      - id: requirements-txt-fixer15      - id: trailing-whitespace16  - repo: https://github.com/myint/docformatter17    rev: v1.7.518    hooks:19      - id: docformatter20        args: ["--in-place"]21  - repo: https://github.com/pycqa/isort22    rev: 5.13.223    hooks:24      - id: isort25        args: ["--profile", "black"]26  - repo: https://github.com/pre-commit/mirrors-mypy27    rev: v1.8.028    hooks:29      - id: mypy30        args: ["--ignore-missing-imports"]31        additional_dependencies:32          [33            "types-python-slugify",34            "types-requests",35            "types-PyYAML",36            "types-pytz",37          ]38  - repo: https://github.com/psf/black39    rev: 24.2.040    hooks:41      - id: black42        language_version: python3.1043        args: ["--line-length", "119"]44  - repo: https://github.com/kynan/nbstripout45    rev: 0.7.146    hooks:47      - id: nbstripout48        args:49          [50            "--extra-keys",51            "metadata.interpreter metadata.kernelspec cell.metadata.pycharm",52          ]53  - repo: https://github.com/nbQA-dev/nbQA54    rev: 1.7.155    hooks:56      - id: nbqa-black57      - id: nbqa-pyupgrade58        args: ["--py37-plus"]59      - id: nbqa-isort60        args: ["--float-to-top"]61