Clarify linter steps for running locally

This commit is contained in:
Luis Gabriel Gomez 2022-12-04 19:33:48 -03:00
parent 4a0711b665
commit 651e56ca9d
No known key found for this signature in database
GPG Key ID: FE7A1F4E2018AEC7

View File

@ -3,9 +3,9 @@ Printer linter is a python package that does linting on Cura definitions files.
Running this on your definition files will get them ready for a pull request.
## Running Locally
From the Cura root folder.
From the Cura root folder and pointing to the relative paths of the wanted definition files:
```python3 printer-linter/src/terminal.py "flashforge_dreamer_nx.def.json" "flashforge_base.def.json" --fix --format```
```python3 printer-linter/src/terminal.py "resources/definitions/flashforge_dreamer_nx.def.json" "resources/definitions/flashforge_base.def.json" --fix --format```
## Developing
### Printer Linter Rules