Skip to content

Commit dc0af0b

Browse files
committed
add support python
1 parent 9acc50e commit dc0af0b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

headers/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .ocaml import HEADER as OCAML_HEADER
77
from .haskell import HEADER as HASKELL_HEADER
88
from .asm import HEADER as ASM_HEADER
9+
from .python import HEADER as PYTHON_HEADER
910

1011
from os.path import split
1112

@@ -24,6 +25,7 @@
2425
(('ml', 'mli'), OCAML_HEADER),
2526
(('hs', ), HASKELL_HEADER),
2627
(('s', 's64', 'asm', 'hs', 'h64', 'inc'), ASM_HEADER),
28+
(('py'), PYTHON_HEADER),
2729
)
2830

2931
# Flattening the spec extensions and indexing them

headers/python.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
HEADER = '''\
2+
# **************************************************************************** #
3+
# #
4+
# ::: :::::::: #
5+
# %-51s:+: :+: :+: #
6+
# +:+ +:+ +:+ #
7+
# By: %-43s+#+ +:+ +#+ #
8+
# +#+#+#+#+#+ +#+ #
9+
# Created: %-41s#+# #+# #
10+
# Updated: %-40s### ########.fr #
11+
# #
12+
# **************************************************************************** #
13+
'''

0 commit comments

Comments
 (0)