.pre-commit-config.yaml, python/.editorconfig: use Python recommended line-ending

This commit is contained in:
Aminda Suomalainen 2023-10-17 07:32:34 +03:00
parent 2e0e86bc2e
commit c6c15122fe
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 3 deletions

View File

@ -86,6 +86,7 @@ repos:
rev: 23.9.1
hooks:
- id: black
args: ["--line-length", "79", "--target-version", "py311"]
#- id: black-jupyter
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.7.0-1

View File

@ -4,6 +4,4 @@ root = false
# https://peps.python.org/pep-0008/#indentation
indent_style = space
indent_size = 4
#max_line_length = 79
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
max_line_length = 88
max_line_length = 79