From 60e298b8bedd9ead6f364513a81811d38cfecfcb Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 21 Jan 2021 22:31:09 +0100 Subject: scripts: fix file headers --- scripts/detect_missing_analyse_text.py | 10 ++++++++++ scripts/vim2pygments.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/detect_missing_analyse_text.py b/scripts/detect_missing_analyse_text.py index e9383421..de925c14 100644 --- a/scripts/detect_missing_analyse_text.py +++ b/scripts/detect_missing_analyse_text.py @@ -1,8 +1,17 @@ +""" + detect_missing_analyse_text + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + import sys from pygments.lexers import get_all_lexers, find_lexer_class from pygments.lexer import Lexer + def main(): uses = {} @@ -28,5 +37,6 @@ def main(): ret |= 2 return ret + if __name__ == '__main__': sys.exit(main()) diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py index 2364e32a..b6831695 100755 --- a/scripts/vim2pygments.py +++ b/scripts/vim2pygments.py @@ -6,7 +6,7 @@ This script converts vim colorscheme files to valid pygments style classes meant for putting into modules. - :copyright 2006 by Armin Ronacher. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ -- cgit v1.2.1