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:
committed by
Dan Kenigsberg
parent
334c5632dd
commit
54f3f112bd
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[tool.black]
|
||||
line-length = 79
|
||||
skip-string-normalization = true
|
||||
Reference in New Issue
Block a user