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. 9555
files
python.ini 813
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()) ) 1069
test_clang_format.py \ -int main ( ) { - -return 0; - - -} +int main() { return 0; } 2849
test_clippy.py 4425
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 1017
test_eslint.py var re = /foo bar/; var re = new RegExp("foo bar"); 1844
test_file_license.py 591
test_file_perm.py 949
test_file_whitespace.py int main() { \n return 0; \n } 1396
test_flake8.py import distutils def foobar(): pass 3588
test_fluent_lint.py 4217
test_lintpref.py 413
test_perfdocs.py This is a sample mozperftest test that we use for testing the verification process. 25326
test_perfdocs_generation.py 9505
test_perfdocs_helpers.py 6795
test_pylint.py 554
test_rst.py 603
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; } } 1601
test_shellcheck.py 613
test_trojan_source.py 718
test_updatebot.py 1075
test_yaml.py 727