-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstaticcheck.conf
More file actions
13 lines (13 loc) · 756 Bytes
/
Copy pathstaticcheck.conf
File metadata and controls
13 lines (13 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# staticcheck, MIT, run in CI at a pinned version. It is never imported, so it
# is not a dependency of this module and the dependency gate does not see it.
#
# "inherit" keeps the default set on purpose. The wave was measured on the
# default set - two findings in the whole tree - and switching to "all" would
# turn on checks nobody has measured here.
#
# ST1005 says an error string must not start with a capital letter. Both
# findings it produced were the word "Pillow", which is the name of the library
# that refused the image rather than the start of a sentence. A guard that
# shouts at correct code is switched off within a week, so it is switched off
# here instead, on purpose and with the reason written down.
checks = ["inherit", "-ST1005"]