mirror of https://github.com/cowrie/cowrie.git
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
---
|
|
repos:
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.3.1
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: ["--py38-plus"]
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.12.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/asottile/yesqa
|
|
rev: v1.4.0
|
|
hooks:
|
|
- id: yesqa
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-ast
|
|
- id: check-byte-order-marker
|
|
- id: check-case-conflict
|
|
- id: check-docstring-first
|
|
- id: check-executables-have-shebangs
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: requirements-txt-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.11.4
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
- id: isort
|
|
name: isort (cython)
|
|
types: [cython]
|
|
- id: isort
|
|
name: isort (pyi)
|
|
types: [pyi]
|