强制文件头

时间:2016-11-10 14:30:55

标签: python github visual-studio-2015 pylint

我是Python的新手。

我们使用Visual Studio作为IDE,使用github进行代码控制。

我们希望能够为每个文件分配默认标头并使其成为授权。

例如:

如果有人启动新文件,则应使用以下标题创建一个文件:

"""
Name: <current_owner>
Last Modified: <time when the code was modified, being updated with every commit:
"""

很明显,“Last Modified:”应该在每次提交时自动更新。

0 个答案:

没有答案