Bug 1883547 - Fix mach lint --include-third-party. r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D203545
This commit is contained in:
Mike Hommey 2024-03-11 20:07:14 +00:00
Родитель 4ef3e72876
Коммит efb3bca773
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -56,7 +56,7 @@ def get_global_excludes(**lintargs):
]
)
if lintargs.get("include_thirdparty"):
if lintargs.get("include_third-party"):
# For some linters, we want to include the thirdparty code too.
# Example: trojan-source linter should run also on third party code.
return excludes

Просмотреть файл

@ -10,7 +10,12 @@ trojan-source:
- modules/freetype2/builds/amiga/include/config/ftconfig.h
- modules/freetype2/builds/amiga/include/config/ftmodule.h
- modules/freetype2/builds/amiga/src/base/ftsystem.c
- third_party/aom/test/dr_prediction_test.cc
- third_party/python/arrow/arrow/locales.py
- third_party/rust/chardetng/src/data.rs
- third_party/rust/clap_builder/src/output/textwrap/core.rs
- third_party/rust/icu_provider/src/hello_world.rs
- third_party/rust/uniffi-example-rondpoint/tests/bindings/test_rondpoint.py
- third_party/rust/error-chain/tests/tests.rs
- third_party/rust/unicode-width/src/tests.rs
- security/nss/gtests/mozpkix_gtest/pkixnames_tests.cpp