mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-02 18:03:50 +00:00
ci: Remove typos CI job
It's not really scalable in a repository with lots of different pieces of code. What is an intentional typo (`fiel`) in one directory might be an actual typo (`field`) elsewhere, and unfortunately this can't be configured in a useful way on a per-directory basis. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1722>
This commit is contained in:
parent
92259e37a1
commit
4917af9b35
3 changed files with 0 additions and 48 deletions
|
@ -360,18 +360,6 @@ check commits:
|
||||||
- job: 'build-stable'
|
- job: 'build-stable'
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
|
||||||
typos:
|
|
||||||
extends: .img-stable
|
|
||||||
stage: "lint"
|
|
||||||
tags: [ 'placeholder-job' ]
|
|
||||||
variables:
|
|
||||||
GIT_SUBMODULE_STRATEGY: "none"
|
|
||||||
script:
|
|
||||||
- typos
|
|
||||||
needs:
|
|
||||||
- job: 'build-stable'
|
|
||||||
artifacts: false
|
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
stage: 'extras'
|
stage: 'extras'
|
||||||
|
|
|
@ -28,7 +28,6 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
||||||
|
|
||||||
cargo install --locked cargo-deny
|
cargo install --locked cargo-deny
|
||||||
cargo install --locked cargo-outdated
|
cargo install --locked cargo-outdated
|
||||||
cargo install --locked typos-cli --version "1.19.0"
|
|
||||||
|
|
||||||
# Coverage tools
|
# Coverage tools
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
|
|
35
typos.toml
35
typos.toml
|
@ -1,35 +0,0 @@
|
||||||
[default.extend-words]
|
|
||||||
gir = "gir"
|
|
||||||
numer = "numer" # numerator
|
|
||||||
inout = "inout"
|
|
||||||
seeked = "seeked"
|
|
||||||
BA = "BA" # sdp_message.rs
|
|
||||||
UE = "UE" # rtsp-server-record.rs
|
|
||||||
subtiles = "subtiles"
|
|
||||||
|
|
||||||
[default]
|
|
||||||
extend-ignore-identifiers-re = [
|
|
||||||
"GST_MTS_TABLE_ID_14496_OBJET_DESCRIPTOR",
|
|
||||||
# gst_rtsp_media_factory_is_stop_on_disonnect
|
|
||||||
".*is_stop_on_disonnect",
|
|
||||||
"ser_de", # gstreamer/CHANGELOG.md
|
|
||||||
# FFMpeg prefixes
|
|
||||||
"anc", "Anc"
|
|
||||||
]
|
|
||||||
|
|
||||||
[files]
|
|
||||||
extend-exclude = [
|
|
||||||
# don't check dot and gir files
|
|
||||||
"*.gir",
|
|
||||||
"*.dot",
|
|
||||||
# don't check submodules
|
|
||||||
"gir/*",
|
|
||||||
"gir-files/*",
|
|
||||||
"gst-gir-files/*",
|
|
||||||
# versions.txt are generated and contain git hash objects
|
|
||||||
"versions.txt",
|
|
||||||
# can't fix typos in generated code as the typo is likely in the C API
|
|
||||||
"*/src/auto/*.rs",
|
|
||||||
"*/sys/src/lib.rs",
|
|
||||||
"*/sys/tests/*",
|
|
||||||
]
|
|
Loading…
Reference in a new issue