mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
* Use namedtuples with types for core structures * Use namedtuples with types for all core stuctures * Use autoflake to remove unused imports
36 lines
1 KiB
YAML
36 lines
1 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.4.0
|
|
hooks:
|
|
# - id: trailing-whitespace
|
|
# exclude: static/*
|
|
# - id: end-of-file-fixer
|
|
# exclude: static/*
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
# - id: name-tests-test
|
|
- id: requirements-txt-fixer
|
|
- id: check-byte-order-marker
|
|
- id: check-merge-conflict
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.7.9
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/mirrors-autopep8
|
|
rev: v1.5.4
|
|
hooks:
|
|
- id: autopep8
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
rev: v2.3.6
|
|
hooks:
|
|
- id: reorder-python-imports
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.790
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies: [tokenize-rt==3.2.0]
|
|
- repo: git@github.com:humitos/mirrors-autoflake.git
|
|
rev: v1.1
|
|
hooks:
|
|
- id: autoflake
|
|
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
|