summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2021-01-21 22:31:09 +0100
committerGeorg Brandl <georg@python.org>2021-01-21 22:31:09 +0100
commit60e298b8bedd9ead6f364513a81811d38cfecfcb (patch)
treed4df9646a501d09b304de59a32a8f5ab364edf0f /scripts
parentf7ccaa363c4aab52967ff3833a2a1bcf67ce19fe (diff)
downloadpygments-git-60e298b8bedd9ead6f364513a81811d38cfecfcb.tar.gz
scripts: fix file headers
Diffstat (limited to 'scripts')
-rw-r--r--scripts/detect_missing_analyse_text.py10
-rwxr-xr-xscripts/vim2pygments.py2
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.
"""