1
0
mirror of https://gerrit.ovirt.org/vdsm synced 2026-02-05 12:46:23 +01:00

black: Set black defaults settings for VDSM formatting

In order to avoid specifying the settings each time black is run,
define the settings in pyproject.toml.
The user can now just run `black <path>` to reformat the code.

Change-Id: Ieb1551b8d289aae7ea1b94e811aa2f868b472c99
Signed-off-by: Edward Haas <edwardh@redhat.com>
This commit is contained in:
Edward Haas
2019-12-16 14:11:10 +02:00
committed by Dan Kenigsberg
parent 334c5632dd
commit 54f3f112bd

3
pyproject.toml Normal file
View File

@@ -0,0 +1,3 @@
[tool.black]
line-length = 79
skip-string-normalization = true