add template for python files to always have GNU AFFERO GENERAL PUBLIC LICENSE Version 3

This commit is contained in:
JesseBot 2022-10-23 22:08:52 +02:00
parent d64b57c999
commit 087a3c698a
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#!/usr/bin/env python3.10
"""
Name:
AUTHOR:
LICENSE: GNU AFFERO GENERAL PUBLIC LICENSE Version 3
"""
def main():
"""
"""
return
if __name__ == '__main__':
main()

8
.vimrc
View file

@ -234,6 +234,14 @@ augroup vimrcEx
augroup END
" this is a template file for python, to make sure certain data is always
" there when populating a new file
if has("autocmd")
augroup templates
autocmd BufNewFile *.py 0r ~/.vim/templates/skeleton.py
augroup END
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" CUSTOM Commands:
" "Locally defined commands for helpfulness"