File tree 5 files changed +313
-631
lines changed
5 files changed +313
-631
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -235,22 +235,6 @@ tasks:
235
235
cmds :
236
236
- clang-format -i rpc/cc/arduino/cli/*/*/*.proto
237
237
238
- # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python-task/Taskfile.yml
239
- python:format :
240
- desc : Format Python files
241
- deps :
242
- - task : poetry:install-deps
243
- cmds :
244
- - poetry run black .
245
-
246
- # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python-task/Taskfile.yml
247
- python:lint :
248
- desc : Lint Python code
249
- deps :
250
- - task : poetry:install-deps
251
- cmds :
252
- - poetry run flake8 --show-source
253
-
254
238
build :
255
239
desc : Build the project
256
240
deps :
@@ -288,7 +272,6 @@ tasks:
288
272
cmds :
289
273
- task : go:vet
290
274
- task : go:lint
291
- - task : python:lint
292
275
- task : protoc:check
293
276
294
277
check-legacy :
Original file line number Diff line number Diff line change @@ -187,23 +187,6 @@ To run very specific test functions:
187
187
go test -v github.com/arduino/arduino-cli/internal/integrationtest/lib -run TestLibUpgradeCommand
188
188
```
189
189
190
- #### Linting and formatting
191
-
192
- When editing any Python file in the project remember to run linting checks with:
193
-
194
- ``` shell
195
- task python:lint
196
- ```
197
-
198
- This will run ` flake8 ` automatically and return any error in the code formatting, if not already installed it will also
199
- install integration tests dependencies.
200
-
201
- In case of linting errors you should be able to solve most of them by automatically formatting with:
202
-
203
- ``` shell
204
- task python:format
205
- ```
206
-
207
190
### Dependency license metadata
208
191
209
192
Metadata about the license types of all dependencies is cached in the repository. To update this cache, run the
You can’t perform that action at this time.
0 commit comments