Added pre_commit_hooks

pull/2/head
KarolG 2023-05-14 04:45:43 +02:00
rodzic 3798177661
commit 9ffa9e7538
2 zmienionych plików z 24 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,22 @@
repos:
- repo: https://github.com/psf/black
rev: 21.9b0
hooks:
- id: black
args: [--safe]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: debug-statements
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
language_version: python3

Wyświetl plik

@ -0,0 +1,2 @@
FLAKE8>=6.0.0
pre-commit>=3.3.1