Skip to content

Commit 15d3f19

Browse files
committed
run prettier
1 parent 5935ad7 commit 15d3f19

File tree

217 files changed

+65658
-64544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+65658
-64544
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Bug Report
22
description: File a bug report
3-
title: "[Bug]: "
3+
title: '[Bug]: '
44
labels: [bug]
55
assignees:
66
- JTF4
@@ -15,7 +15,7 @@ body:
1515
label: What happened?
1616
description: Also tell us, what did you expect to happen?
1717
placeholder: Tell us what you see!
18-
value: "A bug happened!"
18+
value: 'A bug happened!'
1919
validations:
2020
required: true
2121
- type: input

Diff for: .github/ISSUE_TEMPLATE/feature.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Feature Request
22
description: Request a feature
3-
title: "[Feature Request]: "
3+
title: '[Feature Request]: '
44
labels: [feature]
55
assignees:
66
- JTF4
@@ -15,6 +15,6 @@ body:
1515
label: What feature would you like to see added to TallyArbiter?
1616
description:
1717
placeholder: Tell us what you want!
18-
value: "I want this feature!"
18+
value: 'I want this feature!'
1919
validations:
20-
required: true
20+
required: true

Diff for: .github/codeql/codeql-config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "TallyArbiter CodeQL Scanning"
1+
name: 'TallyArbiter CodeQL Scanning'
22

3-
paths-ignore:
3+
paths-ignore:
44
- node_modules
55
- ui-dist
66
- '**/*.test.js'

Diff for: .github/workflows/build-listener-clients.yaml

+125-125
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build Listener Clients
22

3-
on:
3+
on:
44
push:
55
paths:
66
- 'listener_clients/**'
@@ -16,87 +16,87 @@ jobs:
1616
name: Build M5StickC Listener
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
20-
- uses: arduino/compile-sketches@v1
21-
with:
22-
platforms: |
23-
- name: esp32:esp32
24-
source-url: https://dl.espressif.com/dl/package_esp32_index.json
25-
fqbn: 'esp32:esp32:m5stick-c'
26-
libraries: |
27-
- source-url: https://github.com/m5stack/M5StickC/archive/refs/tags/0.2.9.zip
28-
- source-url: https://github.com/m5stack/M5StickC-Plus/archive/refs/tags/0.1.0.zip
29-
- name: WebSockets
30-
- name: WiFiManager
31-
- name: MultiButton
32-
- name: Arduino_JSON
33-
cli-compile-flags: |
34-
- --export-binaries
35-
sketch-paths: |
36-
- listener_clients/m5stickc-listener
37-
enable-deltas-report: true
38-
- name: Upload Artifact
39-
uses: actions/upload-artifact@v3
40-
with:
41-
name: 'TallyArbiter-Listener-M5StickC'
42-
path: 'listener_clients/m5stickc-listener/build/esp32.esp32.m5stick-c'
19+
- uses: actions/checkout@v4
20+
- uses: arduino/compile-sketches@v1
21+
with:
22+
platforms: |
23+
- name: esp32:esp32
24+
source-url: https://dl.espressif.com/dl/package_esp32_index.json
25+
fqbn: 'esp32:esp32:m5stick-c'
26+
libraries: |
27+
- source-url: https://github.com/m5stack/M5StickC/archive/refs/tags/0.2.9.zip
28+
- source-url: https://github.com/m5stack/M5StickC-Plus/archive/refs/tags/0.1.0.zip
29+
- name: WebSockets
30+
- name: WiFiManager
31+
- name: MultiButton
32+
- name: Arduino_JSON
33+
cli-compile-flags: |
34+
- --export-binaries
35+
sketch-paths: |
36+
- listener_clients/m5stickc-listener
37+
enable-deltas-report: true
38+
- name: Upload Artifact
39+
uses: actions/upload-artifact@v3
40+
with:
41+
name: 'TallyArbiter-Listener-M5StickC'
42+
path: 'listener_clients/m5stickc-listener/build/esp32.esp32.m5stick-c'
4343

4444
build_m5atom-listener:
4545
name: Build M5Atom Listener
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@v4
49-
- uses: arduino/compile-sketches@v1
50-
with:
51-
platforms: |
52-
- name: esp32:esp32
53-
source-url: https://dl.espressif.com/dl/package_esp32_index.json
54-
fqbn: 'esp32:esp32:m5stack-atom'
55-
libraries: |
56-
- source-url: https://github.com/m5stack/M5Atom/archive/refs/tags/0.1.2.zip
57-
- name: WebSockets
58-
- name: WiFiManager
59-
- name: MultiButton
60-
- name: Arduino_JSON
61-
- name: FastLED
62-
cli-compile-flags: |
63-
- --export-binaries
64-
sketch-paths: |
65-
- listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom
66-
enable-deltas-report: true
67-
- name: Upload Artifact
68-
uses: actions/upload-artifact@v3
69-
with:
70-
name: 'TallyArbiter-Listener-M5Atom'
71-
path: 'listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/build/esp32.esp32.m5stack-atom'
48+
- uses: actions/checkout@v4
49+
- uses: arduino/compile-sketches@v1
50+
with:
51+
platforms: |
52+
- name: esp32:esp32
53+
source-url: https://dl.espressif.com/dl/package_esp32_index.json
54+
fqbn: 'esp32:esp32:m5stack-atom'
55+
libraries: |
56+
- source-url: https://github.com/m5stack/M5Atom/archive/refs/tags/0.1.2.zip
57+
- name: WebSockets
58+
- name: WiFiManager
59+
- name: MultiButton
60+
- name: Arduino_JSON
61+
- name: FastLED
62+
cli-compile-flags: |
63+
- --export-binaries
64+
sketch-paths: |
65+
- listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom
66+
enable-deltas-report: true
67+
- name: Upload Artifact
68+
uses: actions/upload-artifact@v3
69+
with:
70+
name: 'TallyArbiter-Listener-M5Atom'
71+
path: 'listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/build/esp32.esp32.m5stack-atom'
7272

7373
build_esp32-neopixel-listener:
7474
name: Build ESP32 NeoPixel Listener
7575
runs-on: ubuntu-latest
7676
steps:
77-
- uses: actions/checkout@v4
78-
- uses: arduino/compile-sketches@v1
79-
with:
80-
platforms: |
81-
- name: esp32:esp32
82-
source-url: https://dl.espressif.com/dl/package_esp32_index.json
83-
fqbn: 'esp32:esp32:esp32'
84-
libraries: |
85-
- name: WebSockets
86-
- name: WiFiManager
87-
- name: MultiButton
88-
- name: Arduino_JSON
89-
- name: Adafruit NeoPixel
90-
cli-compile-flags: |
91-
- --export-binaries
92-
sketch-paths: |
93-
- listener_clients/esp32-neopixel-listener
94-
enable-deltas-report: true
95-
- name: Upload Artifact
96-
uses: actions/upload-artifact@v3
97-
with:
98-
name: 'TallyArbiter-Listener-ESP32-NeoPixel'
99-
path: 'listener_clients/esp32-neopixel-listener/build/esp32.esp32.esp32'
77+
- uses: actions/checkout@v4
78+
- uses: arduino/compile-sketches@v1
79+
with:
80+
platforms: |
81+
- name: esp32:esp32
82+
source-url: https://dl.espressif.com/dl/package_esp32_index.json
83+
fqbn: 'esp32:esp32:esp32'
84+
libraries: |
85+
- name: WebSockets
86+
- name: WiFiManager
87+
- name: MultiButton
88+
- name: Arduino_JSON
89+
- name: Adafruit NeoPixel
90+
cli-compile-flags: |
91+
- --export-binaries
92+
sketch-paths: |
93+
- listener_clients/esp32-neopixel-listener
94+
enable-deltas-report: true
95+
- name: Upload Artifact
96+
uses: actions/upload-artifact@v3
97+
with:
98+
name: 'TallyArbiter-Listener-ESP32-NeoPixel'
99+
path: 'listener_clients/esp32-neopixel-listener/build/esp32.esp32.esp32'
100100

101101
build_TTGO-listener:
102102
strategy:
@@ -114,79 +114,79 @@ jobs:
114114
name: Build ${{ matrix.board.name }} Listener
115115
runs-on: ubuntu-latest
116116
steps:
117-
- uses: actions/checkout@v4
118-
- name: Setup TFT_eSPI and select User Setup
119-
run: |
120-
git clone https://github.com/Bodmer/TFT_eSPI/
121-
cd TFT_eSPI
122-
sed -i 's/#include <User_Setup.h>/\/\/#include <User_Setup.h>/g' User_Setup_Select.h
123-
sed -i 's/\/\/#include <User_Setups\/Setup22_TTGO_T4.h>/#include <User_Setups\/Setup22_TTGO_T4.h>/g' User_Setup_Select.h
124-
- uses: arduino/compile-sketches@v1
125-
with:
126-
platforms: |
127-
- name: esp32:esp32
128-
source-url: https://dl.espressif.com/dl/package_esp32_index.json
129-
fqbn: ${{ matrix.board.fqbn }}
130-
libraries: |
131-
- name: WebSockets
132-
- name: WiFiManager
133-
- name: MultiButton
134-
- name: Arduino_JSON
135-
- source-path: TFT_eSPI
136-
cli-compile-flags: |
137-
- --export-binaries
138-
sketch-paths: |
139-
- listener_clients/TTGO_T-listener
140-
enable-deltas-report: true
141-
- name: Get FQBN build dir for ${{ matrix.board.name }}
142-
run: |
143-
RAW_FQBN="${{ matrix.board.fqbn }}"
144-
FQBN_REPLACED=$(echo $RAW_FQBN | sed 's/:/./g')
145-
echo "FQBN_REPLACED=$FQBN_REPLACED" >> $GITHUB_ENV
146-
- name: Upload Artifact
147-
uses: actions/upload-artifact@v3
148-
with:
149-
name: 'TallyArbiter-Listener-${{ matrix.board.name }}'
150-
path: 'listener_clients/TTGO_T-listener/build/${{ env.FQBN_REPLACED }}'
117+
- uses: actions/checkout@v4
118+
- name: Setup TFT_eSPI and select User Setup
119+
run: |
120+
git clone https://github.com/Bodmer/TFT_eSPI/
121+
cd TFT_eSPI
122+
sed -i 's/#include <User_Setup.h>/\/\/#include <User_Setup.h>/g' User_Setup_Select.h
123+
sed -i 's/\/\/#include <User_Setups\/Setup22_TTGO_T4.h>/#include <User_Setups\/Setup22_TTGO_T4.h>/g' User_Setup_Select.h
124+
- uses: arduino/compile-sketches@v1
125+
with:
126+
platforms: |
127+
- name: esp32:esp32
128+
source-url: https://dl.espressif.com/dl/package_esp32_index.json
129+
fqbn: ${{ matrix.board.fqbn }}
130+
libraries: |
131+
- name: WebSockets
132+
- name: WiFiManager
133+
- name: MultiButton
134+
- name: Arduino_JSON
135+
- source-path: TFT_eSPI
136+
cli-compile-flags: |
137+
- --export-binaries
138+
sketch-paths: |
139+
- listener_clients/TTGO_T-listener
140+
enable-deltas-report: true
141+
- name: Get FQBN build dir for ${{ matrix.board.name }}
142+
run: |
143+
RAW_FQBN="${{ matrix.board.fqbn }}"
144+
FQBN_REPLACED=$(echo $RAW_FQBN | sed 's/:/./g')
145+
echo "FQBN_REPLACED=$FQBN_REPLACED" >> $GITHUB_ENV
146+
- name: Upload Artifact
147+
uses: actions/upload-artifact@v3
148+
with:
149+
name: 'TallyArbiter-Listener-${{ matrix.board.name }}'
150+
path: 'listener_clients/TTGO_T-listener/build/${{ env.FQBN_REPLACED }}'
151151

152152
analyse_blink1-listener:
153153
name: Analyse Blink1 Listener
154154
runs-on: ubuntu-latest
155155
steps:
156-
- uses: actions/checkout@v4
157-
- name: Install prosepector
158-
run: pip install prospector[with_everything]
159-
- name: Analyse
160-
working-directory: listener_clients/blink1-listener
161-
run: prospector -W pyroma -0
156+
- uses: actions/checkout@v4
157+
- name: Install prosepector
158+
run: pip install prospector[with_everything]
159+
- name: Analyse
160+
working-directory: listener_clients/blink1-listener
161+
run: prospector -W pyroma -0
162162

163163
analyse_blinkt-listener:
164164
name: Analyse Pimoroni Blinkt Listener
165165
runs-on: ubuntu-latest
166166
steps:
167-
- uses: actions/checkout@v4
168-
- name: Install prosepector
169-
run: pip install prospector[with_everything]
170-
- name: Analyse
171-
working-directory: listener_clients/pimoroni-blinkt-listener
172-
run: prospector -W pyroma -0
167+
- uses: actions/checkout@v4
168+
- name: Install prosepector
169+
run: pip install prospector[with_everything]
170+
- name: Analyse
171+
working-directory: listener_clients/pimoroni-blinkt-listener
172+
run: prospector -W pyroma -0
173173

174174
analyse_gpo-listener:
175175
name: Analyse GPO Listener
176176
runs-on: ubuntu-latest
177177
steps:
178-
- uses: actions/checkout@v4
179-
- name: Install prosepector
180-
run: pip install prospector[with_everything]
181-
- name: Analyse
182-
working-directory: listener_clients/gpo-listener
183-
run: prospector -W pyroma -0
178+
- uses: actions/checkout@v4
179+
- name: Install prosepector
180+
run: pip install prospector[with_everything]
181+
- name: Analyse
182+
working-directory: listener_clients/gpo-listener
183+
run: prospector -W pyroma -0
184184

185185
analyse_relay-listener:
186186
name: Analyse Relay Listener
187187
runs-on: ubuntu-latest
188188
steps:
189-
- uses: actions/checkout@v4
189+
- uses: actions/checkout@v4
190190
#- name: Install dependencies
191191
# working-directory: listener_clients/relay-listener
192192
# run: |

0 commit comments

Comments
 (0)