- Jan 03, 2024
-
-
Jakub Jelinek authored
-
- Sep 29, 2023
-
-
Patrick O'Neill authored
This testcase causes lots of false-positives for machine description files. contrib/ChangeLog: * check_GNU_style_lib.py: Skip machine description file bracket linting. Signed-off-by:
Patrick O'Neill <patrick@rivosinc.com>
-
- Jan 16, 2023
-
-
Jakub Jelinek authored
-
- Dec 14, 2022
-
-
Martin Liska authored
contrib/ChangeLog: * analyze_brprob.py: Add copyright header. * analyze_brprob_spec.py: Likewise. * check-params-in-docs.py: Likewise. * check_GNU_style.py: Likewise. * check_GNU_style_lib.py: Likewise. * filter-clang-warnings.py: Likewise. * gcc-changelog/git_check_commit.py: Likewise. * gcc-changelog/git_commit.py: Likewise. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/git_update_version.py: Likewise. * gcc-changelog/test_email.py: Likewise. * mark_spam.py: Likewise.
-
- Dec 11, 2022
-
-
Martin Liska authored
In order to support CR on a line, we need to open files with newline='\n' as our line endings supposed to be of UNIX style. contrib/ChangeLog: * check_GNU_style.py: Use newline=\n. * check_GNU_style_lib.py: Simplify. * gcc-changelog/git_commit.py: Fix issues seen Rust patchset. * gcc-changelog/git_email.py: Use newline argument. * gcc-changelog/test_email.py: New test. * gcc-changelog/test_patches.txt: New test. * mklog.py: Use newline argument.
-
- Jan 19, 2022
-
-
Martin Liska authored
contrib/ChangeLog: * check_GNU_style_lib.py: Skip Python files.
-
- Nov 19, 2018
-
-
Martin Liska authored
2018-11-19 Martin Liska <mliska@suse.cz> * check_GNU_style_lib.py: Detect mixed usage of spaces and tabs. From-SVN: r266261
-
- May 29, 2017
-
-
Tom de Vries authored
2017-05-29 Tom de Vries <tom@codesourcery.com> * check_GNU_style_lib.py (TrailingWhitespaceCheck.check): Assert no trailing eol. (TrailingWhitespaceTest): New unit test. (check_GNU_style_file): Remove eol before checking. From-SVN: r248556
-
Tom de Vries authored
2017-05-29 Tom de Vries <tom@codesourcery.com> * check_GNU_style_lib.py (check_GNU_style_file): Treat file argument as file handle. Add and handle file_encoding argument. * check_GNU_style.py (main): Handle '-' file argument. Call check_GNU_style_file with file handle as argument. From-SVN: r248555
-
Tom de Vries authored
Instead of: ... $ ./contrib/check_GNU_style.py termcolor module is missing (run: pip3 install termcolor) $ pip3 install termcolor $ ./contrib/check_GNU_style.py unidiff module is missing (run: pip3 install unidiff) $ pip3 install unidiff $ ... Do: ... $ ./contrib/check_GNU_style.py termcolor and unidiff modules are missing (run: pip3 install termcolor unidiff) $ pip3 install termcolor unidiff $ ... 2017-05-29 Tom de Vries <tom@codesourcery.com> * check_GNU_style_lib.py: Use import_pip3 to import pip3 packages. (import_pip3): New function. From-SVN: r248554
-
- May 24, 2017
-
-
Tom de Vries authored
2017-05-24 Tom de Vries <tom@codesourcery.com> * check_GNU_style_lib.py: New file, factored out of ... * check_GNU_style.py: ... here. Call main unconditionally. From-SVN: r248403
-
- May 19, 2017
-
-
Martin Liska authored
From-SVN: r248282
-
Martin Liska authored
2017-05-19 Martin Liska <mliska@suse.cz> * check_GNU_style.py: New file. From-SVN: r248281
-