diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/detect_missing_analyse_text.py | 10 | ||||
-rwxr-xr-x | scripts/vim2pygments.py | 2 |
2 files changed, 11 insertions, 1 deletions
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. """ |