diff options
author | Georg Brandl <georg@python.org> | 2021-01-21 22:31:09 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2021-01-21 22:31:09 +0100 |
commit | 60e298b8bedd9ead6f364513a81811d38cfecfcb (patch) | |
tree | d4df9646a501d09b304de59a32a8f5ab364edf0f /scripts | |
parent | f7ccaa363c4aab52967ff3833a2a1bcf67ce19fe (diff) | |
download | pygments-git-60e298b8bedd9ead6f364513a81811d38cfecfcb.tar.gz |
scripts: fix file headers
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. """ |