File: clippy.yml

package info (click to toggle)
firefox 149.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,767,760 kB
  • sloc: cpp: 7,416,064; javascript: 6,752,859; ansic: 3,774,850; python: 1,250,473; xml: 641,578; asm: 439,191; java: 186,617; sh: 56,634; makefile: 18,856; objc: 13,092; perl: 12,763; pascal: 5,960; yacc: 4,583; cs: 3,846; lex: 1,720; ruby: 1,002; php: 436; lisp: 258; awk: 105; sql: 66; sed: 53; csh: 10; exp: 6
file content (164 lines) | stat: -rw-r--r-- 6,401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
clippy:
    description: Lint rust
    include:
        - build/workspace-hack/
        - browser/app/nmhproxy/
        - dom/base/fragmentdirectives/
        - dom/base/rust/
        - dom/fs/parent/rust/data-encoding-ffi/
        - dom/fs/parent/rust/mime-guess-ffi/
        - dom/media/gtest/
        - dom/midi/midir_impl/
        - dom/origin-trials/ffi/
        - dom/webauthn/authrs_bridge/
        - dom/webauthn/libudev-sys/
        - gfx/webrender_bindings/
        - gfx/wr/peek-poke/
        - gfx/wr/peek-poke/peek-poke-derive/
        - gfx/wr/webrender_build/
        - gfx/wr/wr_malloc_size_of/
        # - intl/bidi/rust/unicode-bidi-ffi/
        - intl/l10n/rust/fluent-ffi/
        - intl/l10n/rust/l10nregistry-ffi/
        # - intl/l10n/rust/l10nregistry-rs/
        - intl/l10n/rust/localization-ffi/
        - intl/locale/rust/oxilangtag-ffi/
        - ipc/rust/ipdl_utils/
        - js/src/rust/shared/
        - modules/libpref/init/static_prefs/
        - mozglue/static/rust/
        - netwerk/base/http-sfv/
        - netwerk/base/idna_glue/
        - netwerk/base/mozurl/
        - netwerk/base/rust-helper/
        - netwerk/base/urlpattern_glue/
        - netwerk/base/uritemplate_glue/
        - netwerk/protocol/http/binary_http/
        - netwerk/protocol/http/oblivious_http/
        - netwerk/socket/neqo_glue/
        - netwerk/test/http3server/
        - security/certverifier/signature_cache/
        - security/manager/ssl/abridged_certs/
        - security/manager/ssl/crypto_hash/
        - security/manager/ssl/data_storage/
        - security/manager/ssl/ipcclientcerts/
        - security/manager/ssl/pdf_trust_anchors/
        - security/manager/ssl/qwac_trust_anchors/
        # - security/manager/ssl/rsclientcerts/
        - security/manager/ssl/rsclientcerts-util/
        - security/manager/ssl/trust_anchors/
        - security/manager/ssl/trust-anchor-build-util/
        - security/mls/mls_gk/
        - servo/components/malloc_size_of/
        - servo/components/selectors/
        - servo/components/servo_arc/
        - servo/components/style/
        - servo/components/style_derive/
        - servo/components/style_traits/
        - servo/components/to_shmem/
        - servo/components/to_shmem_derive/
        - servo/tests/unit/malloc_size_of/
        - servo/tests/unit/style/
        - storage/rust/
        - testing/geckodriver/
        - testing/geckodriver/marionette/
        - testing/mozbase/rust/mozdevice/
        - testing/mozbase/rust/mozprofile/
        - testing/mozbase/rust/mozrunner/
        - testing/mozbase/rust/mozversion/
        - testing/webdriver/
        - third_party/rust/mp4parse/
        - third_party/rust/mp4parse_capi/
        - toolkit/components/cascade_bloom_filter/
        # - toolkit/components/dap/ffi/
        - toolkit/components/gecko-trace/
        - toolkit/components/glean/
        - toolkit/components/kvstore/
        - toolkit/components/processtools/
        - toolkit/components/uniffi-bindgen-gecko-js/
        - toolkit/crashreporter/client/app/
        - toolkit/crashreporter/crash_helper_client/
        - toolkit/crashreporter/crash_helper_common/
        - toolkit/crashreporter/crash_helper_server/
        - toolkit/crashreporter/crashping/
        - toolkit/crashreporter/minidump-analyzer/
        - toolkit/crashreporter/mozannotation_client/
        - toolkit/crashreporter/mozannotation_server/
        - toolkit/crashreporter/mozwer-rust/
        - toolkit/crashreporter/process_reader/
        - toolkit/crashreporter/rust_minidump_writer_linux/
        # - toolkit/library/buildid_reader/
        - toolkit/library/buildid_reader/ffi/
        - toolkit/library/gtest/rust/
        - toolkit/library/rust/
        - toolkit/xre/detect_win32k_conflicts/
        - tools/fuzzing/rust/
        # - tools/profiler/rust-api/
        # - xpcom/rust/gecko_logger/
        - xpcom/rust/gecko_tracing/
        - xpcom/rust/gtest/bench-collections/
        - xpcom/rust/malloc_size_of_derive/
        - xpcom/rust/xpcom/xpcom_macros/
    non_gkrust_crates:
        # Crates to run clippy on that aren't part of the gkrust crate
        # (`toolkit/library/rust/`). These have the form of
        # [crate-name]: [crate-dir]
        #
        # Make sure to include the crate dir in `includes` as well.
        uniffi-bindgen-gecko-js: toolkit/components/uniffi-bindgen-gecko-js/
    exclude:
        # Many are failing for the same reasons:
        # https://bugzilla.mozilla.org/show_bug.cgi?id=1606073
        # https://bugzilla.mozilla.org/show_bug.cgi?id=1606077
        - Cargo.toml
        # nsstring
        # derive_hash_xor_eq
        - gfx/wr/
        - gfx/wr/webrender/
        - gfx/wr/examples/
        # windows-only
        - gfx/wr/example-compositor/compositor-windows/
        - gfx/wr/webrender_api/
        - gfx/wr/wrench/
        - gfx/wgpu_bindings/
        # not_unsafe_ptr_arg_deref
        - modules/libpref/parser/
        - tools/profiler/rust-helper/
        - toolkit/library/rust/shared/
        - dom/media/webrtc/sdp/rsdparsa_capi/
        - intl/encoding_glue/
        - storage/variant/
        # nsstring
        - servo/ports/geckolib/tests/
        - xpcom/rust/xpcom/
        - xpcom/rust/nsstring/
        - xpcom/rust/gtest/xpcom/
        - xpcom/rust/gtest/nsstring/
        - security/manager/ssl/cert_storage/
        - intl/locale/rust/fluent-langneg-ffi/
        - intl/locale/rust/locale_service_glue/
        - intl/locale/rust/unic-langid-ffi/
        - toolkit/components/places/bookmark_sync/
        - xpcom/rust/nserror/
        - xpcom/rust/moz_task/
        - xpcom/rust/gkrust_utils/
        - dom/media/webrtc/transport/mdns_service/
        - tools/lint/test/files/clippy/
        - servo/ports/geckolib/
        - toolkit/components/bitsdownload/bits_client/
        - gfx/wr/example-compositor/compositor/
        - toolkit/components/bitsdownload/bits_client/bits/
        # mac and windows only
        - security/manager/ssl/osclientcerts/
    extensions:
        - rs
    support-files:
        - 'tools/lint/clippy/**'
    # the version of cargo-clippy is:
    # clippy 0.1.92 (ded5c06cf2 2025-12-08)
    # we use the date instead to facilitate the check
    # replacing - by . because Python packaging.version.Version expects this
    min_clippy_version: 2025.12.08
    type: global
    payload: clippy:lint