commit
3b699ba488
|
@ -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
|
|
@ -0,0 +1,9 @@
|
|||
[tool.flake8]
|
||||
max-line-length = 120
|
||||
|
||||
[tool.black]
|
||||
line-length = 119
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
multi_line_output = 3
|
|
@ -0,0 +1,4 @@
|
|||
FLAKE8>=6.0.0
|
||||
pre-commit>=3.3.1
|
||||
isort>=5.12
|
||||
black>=23.3.0
|
Ładowanie…
Reference in New Issue