mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
32 lines
748 B
YAML
Executable File
Vendored
32 lines
748 B
YAML
Executable File
Vendored
repos:
|
|
# Meta housekeeping to keep pre-commit operating correctly
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
|
|
# General housekeeping and auto-fixers
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v1.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
|
|
# Python import formatting
|
|
- repo: https://github.com/asottile/seed-isort-config
|
|
rev: v1.9.3
|
|
hooks:
|
|
- id: seed-isort-config
|
|
|
|
- repo: https://github.com/timothycrosley/isort
|
|
rev: 4.3.21-2
|
|
hooks:
|
|
- id: isort
|
|
additional_dependencies: ["toml"]
|
|
|
|
# Python code formatting
|
|
- repo: https://github.com/psf/black
|
|
rev: stable
|
|
hooks:
|
|
- id: black
|
|
language_version: python3.8
|