Skip to content

Commit 840c182

Browse files
authored
fix: warnings were breaking the build (#644)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent d42688c commit 840c182

File tree

3 files changed

+87
-71
lines changed

3 files changed

+87
-71
lines changed

Gemfile.lock

Lines changed: 76 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,61 @@ GEM
44
Ascii85 (2.0.1)
55
addressable (2.8.7)
66
public_suffix (>= 2.0.2, < 7.0)
7-
afm (0.2.2)
8-
ast (2.4.2)
9-
async (2.23.0)
7+
afm (1.0.0)
8+
ast (2.4.3)
9+
async (2.33.0)
1010
console (~> 1.29)
1111
fiber-annotation
12-
io-event (~> 1.9)
12+
io-event (~> 1.11)
1313
metrics (~> 0.12)
14-
traces (~> 0.15)
15-
base64 (0.2.0)
16-
bigdecimal (3.1.9)
14+
traces (~> 0.18)
15+
base64 (0.3.0)
16+
bigdecimal (3.2.3)
1717
colorator (1.1.0)
1818
concurrent-ruby (1.3.5)
19-
console (1.29.3)
19+
console (1.34.0)
2020
fiber-annotation
2121
fiber-local (~> 1.1)
2222
json
23-
csv (3.3.2)
23+
csv (3.3.5)
2424
em-websocket (0.5.3)
2525
eventmachine (>= 0.12.9)
2626
http_parser.rb (~> 0)
27-
ethon (0.16.0)
27+
ethon (0.17.0)
2828
ffi (>= 1.15.0)
2929
eventmachine (1.2.7)
30-
ffi (1.17.1-aarch64-linux-gnu)
31-
ffi (1.17.1-aarch64-linux-musl)
32-
ffi (1.17.1-arm-linux-gnu)
33-
ffi (1.17.1-arm-linux-musl)
34-
ffi (1.17.1-arm64-darwin)
35-
ffi (1.17.1-x86_64-darwin)
36-
ffi (1.17.1-x86_64-linux-gnu)
37-
ffi (1.17.1-x86_64-linux-musl)
30+
ffi (1.17.2-aarch64-linux-gnu)
31+
ffi (1.17.2-aarch64-linux-musl)
32+
ffi (1.17.2-arm-linux-gnu)
33+
ffi (1.17.2-arm-linux-musl)
34+
ffi (1.17.2-arm64-darwin)
35+
ffi (1.17.2-x86_64-darwin)
36+
ffi (1.17.2-x86_64-linux-gnu)
37+
ffi (1.17.2-x86_64-linux-musl)
3838
fiber-annotation (0.2.0)
3939
fiber-local (1.1.0)
4040
fiber-storage
41-
fiber-storage (1.0.0)
41+
fiber-storage (1.0.1)
4242
forwardable-extended (2.6.0)
43-
google-protobuf (4.29.3)
43+
google-protobuf (4.32.1)
4444
bigdecimal
4545
rake (>= 13)
46-
google-protobuf (4.29.3-aarch64-linux)
46+
google-protobuf (4.32.1-aarch64-linux-gnu)
4747
bigdecimal
4848
rake (>= 13)
49-
google-protobuf (4.29.3-arm64-darwin)
49+
google-protobuf (4.32.1-aarch64-linux-musl)
5050
bigdecimal
5151
rake (>= 13)
52-
google-protobuf (4.29.3-x86_64-darwin)
52+
google-protobuf (4.32.1-arm64-darwin)
5353
bigdecimal
5454
rake (>= 13)
55-
google-protobuf (4.29.3-x86_64-linux)
55+
google-protobuf (4.32.1-x86_64-darwin)
56+
bigdecimal
57+
rake (>= 13)
58+
google-protobuf (4.32.1-x86_64-linux-gnu)
59+
bigdecimal
60+
rake (>= 13)
61+
google-protobuf (4.32.1-x86_64-linux-musl)
5662
bigdecimal
5763
rake (>= 13)
5864
hashery (2.1.2)
@@ -68,7 +74,7 @@ GEM
6874
http_parser.rb (0.8.0)
6975
i18n (1.14.7)
7076
concurrent-ruby (~> 1.0)
71-
io-event (1.9.0)
77+
io-event (1.14.0)
7278
jekyll (4.4.1)
7379
addressable (~> 2.4)
7480
base64 (~> 0.2)
@@ -98,7 +104,7 @@ GEM
98104
jekyll (>= 3.8, < 5.0)
99105
jekyll-watch (2.2.1)
100106
listen (~> 3.0)
101-
json (2.10.1)
107+
json (2.15.0)
102108
just-the-docs (0.10.1)
103109
jekyll (>= 3.8.5)
104110
jekyll-include-cache
@@ -108,88 +114,90 @@ GEM
108114
rexml (>= 3.3.9)
109115
kramdown-parser-gfm (1.1.0)
110116
kramdown (~> 2.0)
111-
language_server-protocol (3.17.0.4)
117+
language_server-protocol (3.17.0.5)
112118
lint_roller (1.1.0)
113119
liquid (4.0.4)
114120
listen (3.9.0)
115121
rb-fsevent (~> 0.10, >= 0.10.3)
116122
rb-inotify (~> 0.9, >= 0.9.10)
117-
logger (1.6.6)
123+
logger (1.7.0)
118124
mercenary (0.4.0)
119-
metrics (0.12.1)
120-
nokogiri (1.18.3-aarch64-linux-gnu)
125+
metrics (0.15.0)
126+
nokogiri (1.18.10-aarch64-linux-gnu)
121127
racc (~> 1.4)
122-
nokogiri (1.18.3-aarch64-linux-musl)
128+
nokogiri (1.18.10-aarch64-linux-musl)
123129
racc (~> 1.4)
124-
nokogiri (1.18.3-arm-linux-gnu)
130+
nokogiri (1.18.10-arm-linux-gnu)
125131
racc (~> 1.4)
126-
nokogiri (1.18.3-arm-linux-musl)
132+
nokogiri (1.18.10-arm-linux-musl)
127133
racc (~> 1.4)
128-
nokogiri (1.18.3-arm64-darwin)
134+
nokogiri (1.18.10-arm64-darwin)
129135
racc (~> 1.4)
130-
nokogiri (1.18.3-x86_64-darwin)
136+
nokogiri (1.18.10-x86_64-darwin)
131137
racc (~> 1.4)
132-
nokogiri (1.18.3-x86_64-linux-gnu)
138+
nokogiri (1.18.10-x86_64-linux-gnu)
133139
racc (~> 1.4)
134-
nokogiri (1.18.3-x86_64-linux-musl)
140+
nokogiri (1.18.10-x86_64-linux-musl)
135141
racc (~> 1.4)
136-
parallel (1.26.3)
137-
parser (3.3.7.1)
142+
parallel (1.27.0)
143+
parser (3.3.9.0)
138144
ast (~> 2.4.1)
139145
racc
140146
pathutil (0.16.2)
141147
forwardable-extended (~> 2.6)
142-
pdf-reader (2.14.1)
148+
pdf-reader (2.15.0)
143149
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
144-
afm (~> 0.2.1)
150+
afm (>= 0.2.1, < 2)
145151
hashery (~> 2.0)
146152
ruby-rc4
147153
ttfunk
148-
public_suffix (6.0.1)
154+
prism (1.5.1)
155+
public_suffix (6.0.2)
149156
racc (1.8.1)
150157
rainbow (3.1.1)
151-
rake (13.2.1)
158+
rake (13.3.0)
152159
rb-fsevent (0.11.2)
153160
rb-inotify (0.11.1)
154161
ffi (~> 1.0)
155-
regexp_parser (2.10.0)
156-
rexml (3.4.1)
157-
rouge (4.5.1)
158-
rubocop (1.73.1)
162+
regexp_parser (2.11.3)
163+
rexml (3.4.4)
164+
rouge (4.6.1)
165+
rubocop (1.81.1)
159166
json (~> 2.3)
160167
language_server-protocol (~> 3.17.0.2)
161168
lint_roller (~> 1.1.0)
162169
parallel (~> 1.10)
163170
parser (>= 3.3.0.2)
164171
rainbow (>= 2.2.2, < 4.0)
165172
regexp_parser (>= 2.9.3, < 3.0)
166-
rubocop-ast (>= 1.38.0, < 2.0)
173+
rubocop-ast (>= 1.47.1, < 2.0)
167174
ruby-progressbar (~> 1.7)
168175
unicode-display_width (>= 2.4.0, < 4.0)
169-
rubocop-ast (1.38.1)
170-
parser (>= 3.3.1.0)
176+
rubocop-ast (1.47.1)
177+
parser (>= 3.3.7.2)
178+
prism (~> 1.4)
171179
ruby-progressbar (1.13.0)
172180
ruby-rc4 (0.1.5)
173181
safe_yaml (1.0.5)
174-
sass-embedded (1.85.1-aarch64-linux-gnu)
175-
google-protobuf (~> 4.29)
176-
sass-embedded (1.85.1-aarch64-linux-musl)
177-
google-protobuf (~> 4.29)
178-
sass-embedded (1.85.1-arm-linux-gnueabihf)
179-
google-protobuf (~> 4.29)
180-
sass-embedded (1.85.1-arm-linux-musleabihf)
181-
google-protobuf (~> 4.29)
182-
sass-embedded (1.85.1-arm64-darwin)
183-
google-protobuf (~> 4.29)
184-
sass-embedded (1.85.1-x86_64-darwin)
185-
google-protobuf (~> 4.29)
186-
sass-embedded (1.85.1-x86_64-linux-gnu)
187-
google-protobuf (~> 4.29)
188-
sass-embedded (1.85.1-x86_64-linux-musl)
189-
google-protobuf (~> 4.29)
182+
sass-embedded (1.93.2-aarch64-linux-gnu)
183+
google-protobuf (~> 4.31)
184+
sass-embedded (1.93.2-aarch64-linux-musl)
185+
google-protobuf (~> 4.31)
186+
sass-embedded (1.93.2-arm-linux-gnueabihf)
187+
google-protobuf (~> 4.31)
188+
sass-embedded (1.93.2-arm-linux-musleabihf)
189+
google-protobuf (~> 4.31)
190+
sass-embedded (1.93.2-arm64-darwin)
191+
google-protobuf (~> 4.31)
192+
sass-embedded (1.93.2-x86_64-darwin)
193+
google-protobuf (~> 4.31)
194+
sass-embedded (1.93.2-x86_64-linux-gnu)
195+
google-protobuf (~> 4.31)
196+
sass-embedded (1.93.2-x86_64-linux-musl)
197+
google-protobuf (~> 4.31)
190198
terminal-table (3.0.2)
191199
unicode-display_width (>= 1.1.1, < 3)
192-
traces (0.15.2)
200+
traces (0.18.2)
193201
ttfunk (1.8.0)
194202
bigdecimal (~> 3.1)
195203
typhoeus (1.4.1)
@@ -198,7 +206,7 @@ GEM
198206
wdm (0.2.0)
199207
webrick (1.9.1)
200208
yell (2.2.2)
201-
zeitwerk (2.7.2)
209+
zeitwerk (2.7.3)
202210

203211
PLATFORMS
204212
aarch64-linux

_config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,11 @@ callouts:
4747
title: Important
4848
highlight:
4949
color: blue
50+
51+
# Workaround for dep warnings
52+
sass:
53+
quiet_deps: true
54+
silence_deprecations:
55+
- import
56+
- color-functions
57+
- global-builtin

docs/pages/principles/testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ a full system check of the package. Good diagnostic tests:
655655
of pytest. To allow running unit tests for diagnostics in production
656656
environments, without installing additional packages.
657657

658-
- Test files should be named `test_{{file under test}}.py`, so that stdlib
658+
- Test files should be named `test_<file under test>.py`, so that stdlib
659659
unittest can find them easily.
660660

661661
### Mocking and Patching to Isolate the code under test
@@ -683,7 +683,7 @@ def test_myfunction(t, patchme: Mock):
683683
stdlib's unittest can be used in environments where pytest is not available:
684684

685685
- To use unittest to run tests from an installed package (outside of your source
686-
repository), use `python -m unittest discover -s {{module.name}}`
686+
repository), use `python -m unittest discover -s <module.name>`
687687
- To use unittest to run tests in your source folder, from your package root,
688688
use
689-
`python -m unittest discover --start-folder {{source folder}} --top-level-directory .`
689+
`python -m unittest discover --start-folder <source folder> --top-level-directory .`

0 commit comments

Comments
 (0)