mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00

A new Linter subclass - 'Directory' has been created and integrated into the linting process to handle directory naming conventions, specifically for MacOS. MacOS has issues when signing and notarizing directories with '.' in their names. The new class will trigger an 'Error' level diagnostic if this convention is violated. The linter will become a required check with this update, as its new check configuration was added to '.printer-linter'. The version number in 'pyproject.toml' was also incremented to reflect these changes. Contributes to CURA-11014
18 lines
740 B
Text
18 lines
740 B
Text
checks:
|
|
diagnostic-mesh-file-extension: true
|
|
diagnostic-mesh-file-size: true
|
|
diagnostic-definition-redundant-override: true
|
|
diagnostic-resources-macos-app-directory-name: true
|
|
fixes:
|
|
diagnostic-definition-redundant-override: true
|
|
format:
|
|
format-definition-bracket-newline: true
|
|
format-definition-paired-coordinate-array: true
|
|
format-definition-sort-keys: true
|
|
format-definition-indent: 4
|
|
format-definition-single-value-single-line: true # Format dicts and lists with a single item on one line "dict": { "value": 10 }
|
|
format-profile-space-around-delimiters: true
|
|
format-profile-sort-keys: true
|
|
diagnostic-mesh-file-size: 1200000
|
|
diagnostic-definition-redundant-override-ignore:
|
|
- machine_.*
|