mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-25 20:59:21 +01:00
.pre-commit-config.yaml, python/.editorconfig: use Python recommended line-ending
This commit is contained in:
parent
2e0e86bc2e
commit
c6c15122fe
@ -86,6 +86,7 @@ repos:
|
|||||||
rev: 23.9.1
|
rev: 23.9.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
args: ["--line-length", "79", "--target-version", "py311"]
|
||||||
#- id: black-jupyter
|
#- id: black-jupyter
|
||||||
- repo: https://github.com/scop/pre-commit-shfmt
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
rev: v3.7.0-1
|
rev: v3.7.0-1
|
||||||
|
@ -4,6 +4,4 @@ root = false
|
|||||||
# https://peps.python.org/pep-0008/#indentation
|
# https://peps.python.org/pep-0008/#indentation
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
#max_line_length = 79
|
max_line_length = 79
|
||||||
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
|
|
||||||
max_line_length = 88
|
|
||||||
|
Loading…
Reference in New Issue
Block a user