mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08: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
19 lines
740 B
Plaintext
19 lines
740 B
Plaintext
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_.*
|