mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
don't write ruff output to file (#121)
* don't write ruff output to file * Update ruff instructions in python README --------- Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
This commit is contained in:
@@ -14,13 +14,15 @@ cd snippets/python
|
||||
python3 -m compileall src
|
||||
```
|
||||
|
||||
To check the snippet formatting:
|
||||
To check the snippet against formatting and linter rules:
|
||||
|
||||
```bash
|
||||
cd snippets/python/src
|
||||
ruff --ignore F841 --ignore F401 --output-format=github .
|
||||
ruff check --ignore F841 --ignore F401 --add-noqa .
|
||||
```
|
||||
|
||||
and fix all occurrences of the `# noqa` directive.
|
||||
|
||||
To execute the snippets locally, in order to check for type correctness:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user