Enable most flake8-commas rules in ruff and fix warning (#3122)
This commit is contained in:
parent
41215741f0
commit
c94d0a56d9
|
|
@ -618,7 +618,7 @@ def suggest_lvm_layout(
|
|||
root_vol_size = disk.Size(20, disk.Unit.GiB, disk.SectorSize.default())
|
||||
home_vol_size = total_vol_available - root_vol_size
|
||||
|
||||
lvm_vol_group = disk.LvmVolumeGroup(vg_grp_name, pvs=other_part, )
|
||||
lvm_vol_group = disk.LvmVolumeGroup(vg_grp_name, pvs=other_part)
|
||||
|
||||
root_vol = disk.LvmVolume(
|
||||
status=disk.LvmVolumeStatus.Create,
|
||||
|
|
|
|||
|
|
@ -182,6 +182,7 @@ select = [
|
|||
"ASYNC", # flake8-async
|
||||
"B", # flake8-bugbear
|
||||
"C90", # mccabe
|
||||
"COM", # flake8-commas
|
||||
"DTZ", # flake8-datetimez
|
||||
"E", # pycodestyle errors
|
||||
"EXE", # flake8-executable
|
||||
|
|
@ -211,6 +212,7 @@ ignore = [
|
|||
"B008", # function-call-in-default-argument
|
||||
"B904", # raise-without-from-inside-except
|
||||
"B905", # zip-without-explicit-strict
|
||||
"COM812", # missing-trailing-comma
|
||||
"PLC0415", # import-outside-top-level
|
||||
"PLC1901", # compare-to-empty-string
|
||||
"PLW1514", # unspecified-encoding
|
||||
|
|
|
|||
Loading…
Reference in New Issue