Skip to content

Commit

Permalink
Bug 1883547 - Fix mach lint --include-third-party. r=ahal
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Mar 11, 2024
1 parent 4ef3e72 commit efb3bca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lint/mach_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions tools/lint/trojan-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efb3bca

Please sign in to comment.