aboutsummaryrefslogtreecommitdiff
path: root/contrib/check_GNU_style.py
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Update copyright years.Jakub Jelinek1-1/+1
2022-12-14contrib: add copyright for my scriptsMartin Liska1-0/+2
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.
2022-12-11unidiff: use newline='\n' argumentMartin Liska1-3/+3
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.
2017-05-29check_GNU_style.py: Read stdin if file argument is '-'Tom de Vries1-1/+9
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
2017-05-24check_GNU_style.py: print usage if no file specifiedTom de Vries1-246/+3
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
2017-05-19Make the script executable.Martin Liska1-0/+0
From-SVN: r248282
2017-05-19Introduce new check_GNU_style.py script.Martin Liska1-0/+278
2017-05-19 Martin Liska <mliska@suse.cz> * check_GNU_style.py: New file. From-SVN: r248281