mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
don't shadow format function.
This commit is contained in:
parent
57ec36b7fe
commit
a809e5a91c
4 changed files with 5 additions and 5 deletions
|
|
@ -94,11 +94,11 @@ def applyFormattingToFile(file: Path, settings) -> None:
|
|||
|
||||
if ext == "def.json":
|
||||
formatter = DefJsonFormatter(settings)
|
||||
formatter.format(file)
|
||||
formatter.formatFile(file)
|
||||
|
||||
if ext == "inst.cfg":
|
||||
formatter = InstCfgFormatter(settings)
|
||||
formatter.format(file)
|
||||
formatter.formatFile(file)
|
||||
|
||||
|
||||
def extractFilePaths(paths: List[Path]) -> List[Path]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue