Skip to content

Commit a6cceab

Browse files
committed
[skip changelog] Format all docs and config files
1 parent 0723f22 commit a6cceab

29 files changed

+455
-463
lines changed

.dependabot/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 1
22
update_configs:
3-
- package_manager: "go:modules"
4-
directory: "/"
5-
update_schedule: "daily"
3+
- package_manager: 'go:modules'
4+
directory: '/'
5+
update_schedule: 'daily'
66
allowed_updates:
77
- match:
8-
update_type: "security"
8+
update_type: 'security'
99
default_labels:
10-
- "component/dependencies"
10+
- 'component/dependencies'

.github/workflows/arduino-stats.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: arduino-stats
33
on:
44
schedule:
55
# run every day at 12:30:00
6-
- cron: '30 12 * * *'
6+
- cron: '30 12 * * *'
77

88
jobs:
99
push-stats:

.github/workflows/github-stats.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: github-stats
33
on:
44
schedule:
55
# run every 30 minutes
6-
- cron: '*/30 * * * *'
6+
- cron: '*/30 * * * *'
77

88
jobs:
99
push-stats:

.github/workflows/i18n-nightly-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: i18n-nightly-push
33
on:
44
schedule:
55
# run every day at 1AM
6-
- cron: '0 1 * * *'
6+
- cron: '0 1 * * *'
77

88
jobs:
99
push-to-transifex:
@@ -27,4 +27,4 @@ jobs:
2727
env:
2828
TRANSIFEX_PROJECT: ${{ secrets.TRANSIFEX_PROJECT }}
2929
TRANSIFEX_RESOURCE: ${{ secrets.TRANSIFEX_RESOURCE }}
30-
TRANSIFEX_API_KEY: ${{ secrets.TRANSIFEX_API_KEY }}
30+
TRANSIFEX_API_KEY: ${{ secrets.TRANSIFEX_API_KEY }}

.github/workflows/i18n-weekly-pull.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: i18n-weekly-pull
33
on:
44
schedule:
55
# run every monday at 2AM
6-
- cron: '0 2 * * 1'
6+
- cron: '0 2 * * 1'
77

88
jobs:
99
pull-from-transifex:
@@ -38,4 +38,4 @@ jobs:
3838
with:
3939
commit-message: Updated translation files
4040
title: Updated translation files
41-
branch: i18n/translations-update
41+
branch: i18n/translations-update

.github/workflows/nightly.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ name: nightly
33
on:
44
schedule:
55
# run every day at 1AM
6-
- cron: '0 1 * * *'
6+
- cron: '0 1 * * *'
77

88
jobs:
9-
109
create-nightly-artifacts:
1110
runs-on: ubuntu-latest
1211

.github/workflows/python-lint.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: "Lints Python code"
1+
name: 'Lints Python code'
22

33
on:
44
push:
55
branches:
66
- master
77
paths:
8-
- "**.py"
9-
- ".flake8"
8+
- '**.py'
9+
- '.flake8'
1010
pull_request:
1111
paths:
12-
- "**.py"
13-
- ".flake8"
12+
- '**.py'
13+
- '.flake8'
1414

1515
jobs:
1616
python-linting:
17-
name: "Lints Python code"
17+
name: 'Lints Python code'
1818
runs-on: ubuntu-latest
1919

2020
steps:
@@ -29,8 +29,8 @@ jobs:
2929
- name: Activate Python
3030
uses: actions/setup-python@v1
3131
with:
32-
python-version: "3.8"
33-
architecture: "x64"
32+
python-version: '3.8'
33+
architecture: 'x64'
3434

3535
- name: Install Poetry
3636
run: pip install poetry

.github/workflows/release.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- '[0-9]+.[0-9]+.[0-9]+*'
77

88
jobs:
9-
109
create-release-artifacts:
1110
runs-on: ubuntu-latest
1211

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: stale-bot
33
on:
44
schedule:
55
# run every day at midnight
6-
- cron: '0 0 * * *'
6+
- cron: '0 0 * * *'
77
issue_comment:
88
types: ['created']
99

.github/workflows/test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
jobs:
1010
test-matrix:
11-
1211
strategy:
1312
matrix:
1413
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
@@ -46,8 +45,8 @@ jobs:
4645
- name: Install Python
4746
uses: actions/setup-python@v1
4847
with:
49-
python-version: "3.8"
50-
architecture: "x64"
48+
python-version: '3.8'
49+
architecture: 'x64'
5150

5251
- name: Install Poetry
5352
run: pip install poetry

.goreleaser.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ changelog:
1919
# We have multiple builds in order to fine tune
2020
# cross compilations.
2121
builds:
22-
-
23-
# OSX
22+
- # OSX
2423
id: arduino_cli_osx
2524
binary: arduino-cli
2625
env:
@@ -33,8 +32,7 @@ builds:
3332
- amd64
3433
ldflags:
3534
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
36-
-
37-
# ARM
35+
- # ARM
3836
id: arduino_cli_arm
3937
binary: arduino-cli
4038
env:
@@ -49,8 +47,7 @@ builds:
4947
ldflags:
5048
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
5149
- "-extldflags '-static'"
52-
-
53-
# ARMv7
50+
- # ARMv7
5451
id: arduino_cli_armv7
5552
binary: arduino-cli
5653
env:
@@ -65,8 +62,7 @@ builds:
6562
ldflags:
6663
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
6764
- "-extldflags '-static'"
68-
-
69-
# ARM64
65+
- # ARM64
7066
id: arduino_cli_arm64
7167
binary: arduino-cli
7268
env:
@@ -79,8 +75,7 @@ builds:
7975
ldflags:
8076
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
8177
- "-extldflags '-static'"
82-
-
83-
# All the other platforms
78+
- # All the other platforms
8479
id: arduino_cli
8580
binary: arduino-cli
8681
env:
@@ -96,8 +91,7 @@ builds:
9691
- "-extldflags '-static'"
9792

9893
archives:
99-
-
100-
id: "arduino_cli"
94+
- id: 'arduino_cli'
10195
format: tar.gz
10296
format_overrides:
10397
- goos: windows

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ board and platforms.
1212
[![codecov-badge]](https://codecov.io/gh/arduino/arduino-cli)
1313

1414
> **Note:** this software is currently under active development: anything can change
15-
at any time, API and UI must be considered unstable until we release version 1.0.0.
15+
> at any time, API and UI must be considered unstable until we release version 1.0.0.
1616
1717
## Docs
1818

@@ -42,16 +42,15 @@ Security Team 🛡️ Thank you!
4242

4343
e-mail contact: [email protected]
4444

45-
4645
[tests-badge]: https://github.com/Arduino/arduino-cli/workflows/test/badge.svg
4746
[nightly-badge]: https://github.com/Arduino/arduino-cli/workflows/nightly/badge.svg
4847
[docs-badge]: https://github.com/Arduino/arduino-cli/workflows/docs/badge.svg
4948
[codecov-badge]: https://codecov.io/gh/arduino/arduino-cli/branch/master/graph/badge.svg
50-
[Install]: https://arduino.github.io/arduino-cli/installation
51-
[User documentation]: https://arduino.github.io/arduino-cli/
52-
[Getting Started]: https://arduino.github.io/arduino-cli/getting-started/
53-
[Commands reference]: https://arduino.github.io/arduino-cli/commands/arduino-cli
54-
[FAQ]: https://arduino.github.io/arduino-cli/FAQ/
55-
[How to contribute]: https://arduino.github.io/arduino-cli/CONTRIBUTING/
49+
[install]: https://arduino.github.io/arduino-cli/installation
50+
[user documentation]: https://arduino.github.io/arduino-cli/
51+
[getting started]: https://arduino.github.io/arduino-cli/getting-started/
52+
[commands reference]: https://arduino.github.io/arduino-cli/commands/arduino-cli
53+
[faq]: https://arduino.github.io/arduino-cli/FAQ/
54+
[how to contribute]: https://arduino.github.io/arduino-cli/CONTRIBUTING/
5655
[contributors]: https://github.com/arduino/arduino-cli/graphs/contributors
5756
[security policy]: https://github.com/arduino/arduino-cli/security/policy

Taskfile.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,18 @@ vars:
191191
LDFLAGS: >
192192
-ldflags '-X github.com/arduino/arduino-cli/version.commit={{.COMMIT}}'
193193
# test vars
194-
GOFLAGS: "-timeout 10m -v -coverpkg=./... -covermode=atomic"
195-
TEST_VERSIONSTRING: "0.0.0-test.preview"
196-
TEST_COMMIT: "deadbeef"
194+
GOFLAGS: '-timeout 10m -v -coverpkg=./... -covermode=atomic'
195+
TEST_VERSIONSTRING: '0.0.0-test.preview'
196+
TEST_COMMIT: 'deadbeef'
197197
TEST_LDFLAGS: >
198198
-ldflags '-X github.com/arduino/arduino-cli/version.versionString={{.TEST_VERSIONSTRING}}
199199
-X github.com/arduino/arduino-cli/version.commit={{.TEST_COMMIT}}'
200200
# check-lint vars
201201
GOLINTBIN:
202202
sh: go list -f {{"{{"}}".Target{{"}}"}}" golang.org/x/lint/golint
203-
GOLINTFLAGS: "-min_confidence 0.8 -set_exit_status"
203+
GOLINTFLAGS: '-min_confidence 0.8 -set_exit_status'
204204
# docs versioning
205205
DOCS_VERSION: dev
206-
DOCS_ALIAS: ""
207-
DOCS_REMOTE: "origin"
206+
DOCS_ALIAS: ''
207+
DOCS_REMOTE: 'origin'
208208

commands/daemon/testdata/arduino-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ board_manager:
44
- http://example.com
55

66
daemon:
7-
port: "50051"
7+
port: '50051'
88

99
directories:
1010
data: /home/massi/.arduino15
1111
downloads: /home/massi/.arduino15/staging
1212

1313
logging:
14-
file: ""
14+
file: ''
1515
format: text
1616
level: info

0 commit comments

Comments
 (0)