Name Description Size Coverage
conftest.py Finds, loads and returns the config for the linter name specified by the LINTER global variable in the calling module. This implies that each test file (that uses this fixture) should only be used to test a single linter. If no LINTER variable is defined, the test will fail. 9840 -
files -
python.toml 1323 -
test_android_format.py 1158 -
test_cargo-audit.py 1318 -
test_clang_format.py \ -int main ( ) { - -return 0; - - -} +int main() { return 0; } 2848 -
test_clippy.py Test --fix option for gkrust crate files 3304 -
test_codespell.py This is a file with some typos and informations. But also testing false positive like optin (because this isn't always option) or stuff related to our coding style like: aparent (aParent). but detects mistakes like mozila 961 -
test_condprof_addons.py 11064 -
test_eslint.py var re = /foo bar/; var re = new RegExp("foo bar"); 3463 -
test_file_license.py let foo = 0; 800 -
test_file_perm.py 893 -
test_file_whitespace.py int main() { \n return 0; \n } 1330 -
test_fluent_lint.py 5251 -
test_gecko_trace.py Test that the linter runs without errors on a valid file. 384 -
test_glean_parser.py Test that good metrics.yaml files pass validation. 1325 -
test_header_guards.py 454 -
test_ignorefile.py \\.pyc$ \\.pyo$ 3620 -
test_includes.py 3691 -
test_lintpref.py 677 -
test_manifest_toml.py Test verifying [DEFAULT] section. 10933 -
test_node_licenses.py 1042 -
test_node_package_names.py 647 -
test_perfdocs.py This is a sample mozperftest test that we use for testing the verification process. 26414 -
test_perfdocs_generation.py 13953 -
test_perfdocs_helpers.py 6886 -
test_python_sites.py 1028 -
test_rst.py 603 -
test_ruff.py import distutils print("hello!") 1513 -
test_ruff_format.py def is_unique( s ): s = list(s ) s.sort() for i in range(len(s) - 1): if s[i] == s[i + 1]: return 0 else: return 1 if __name__ == "__main__": print( is_unique(input()) ) 1137 -
test_rustfmt.py fn main() { // Statements here are executed when the compiled binary is called // Print text to the console println!("Hello World!"); let mut a; let mut b=1; let mut vec = Vec::new(); vec.push(1); vec.push(2); for x in 5..10 - 5 { a = x; } } 1600 -
test_shellcheck.py 613 -
test_stylelint.py #foo { text-transform: uppercase; text-transform: uppercase; } 1842 -
test_trojan_source.py 662 -
test_updatebot.py 1073 -
test_yaml.py 727 -