Name Description Size
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. 9578
files
python.toml 1199
test_android_format.py 1049
test_black.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()) ) 1068
test_clang_format.py \ -int main ( ) { - -return 0; - - -} +int main() { return 0; } 2848
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"); 2803
test_file_license.py let foo = 0; 799
test_file_perm.py 893
test_file_whitespace.py int main() { \n return 0; \n } 1339
test_fluent_lint.py 5251
test_ignorefile.py \\.pyc$ \\.pyo$ 3620
test_lintpref.py 357
test_manifest_alpha.py Test that an .ini file outside of the allowlist is ignored. 938
test_manifest_toml.py Test verifying [DEFAULT] section. 2569
test_perfdocs.py This is a sample mozperftest test that we use for testing the verification process. 25588
test_perfdocs_generation.py This test ensures that when no changed files exist, we'll still trigger a failure. 11490
test_perfdocs_helpers.py 6795
test_rst.py 603
test_ruff.py import distutils print("hello!") 873
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 { font-size: 12px; font-size: 12px; } 1802
test_trojan_source.py 662
test_updatebot.py 1073
test_yaml.py 727