mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 06:14:22 +01:00
Install and configure pre-commit (to work with isort, black and flake8).
This commit is contained in:
6
.flake8
6
.flake8
@@ -3,9 +3,9 @@ max-line-length = 80
|
|||||||
extend-select = B950
|
extend-select = B950
|
||||||
extend-ignore = E203,E501,E701
|
extend-ignore = E203,E501,E701
|
||||||
|
|
||||||
per-file-ignores = */__init__.py:F401
|
|
||||||
|
|
||||||
exclude =
|
exclude =
|
||||||
__pycache__
|
__pycache__
|
||||||
dist,
|
dist
|
||||||
venv
|
venv
|
||||||
|
|
||||||
|
per-file-ignores = */__init__.py:F401
|
||||||
|
|||||||
17
.pre-commit-config.yaml
Normal file
17
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/PyCQA/isort
|
||||||
|
rev: 5.13.2
|
||||||
|
hooks:
|
||||||
|
- id: isort
|
||||||
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
|
rev: 24.2.0
|
||||||
|
hooks:
|
||||||
|
- id: black
|
||||||
|
- repo: https://github.com/PyCQA/flake8
|
||||||
|
rev: 7.0.0
|
||||||
|
hooks:
|
||||||
|
- id: flake8
|
||||||
|
|
||||||
|
additional_dependencies: [
|
||||||
|
flake8-bugbear
|
||||||
|
]
|
||||||
Binary file not shown.
Reference in New Issue
Block a user