use .editorconfig

This commit is contained in:
j 2019-04-29 14:05:43 +02:00
parent 3b0155e9ac
commit 846f0ceb5b
5 changed files with 11 additions and 4 deletions

11
.editorconfig Normal file
View file

@ -0,0 +1,11 @@
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,py,html}]
indent_style = space
indent_size = 4
charset = utf-8
[Makefile]
indent_style = tab

View file

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2008-2014 # GPL 2008-2014
from __future__ import absolute_import from __future__ import absolute_import

View file

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2014 # GPL 2014
from __future__ import division, with_statement, print_function from __future__ import division, with_statement, print_function

View file

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2008-2014 # GPL 2008-2014
from __future__ import division, print_function, absolute_import from __future__ import division, print_function, absolute_import

View file

@ -1,6 +1,5 @@
# setup.py # setup.py
# -*- coding: UTF-8 -*- # -*- coding: UTF-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
try: try:
from setuptools import setup from setuptools import setup
except: except: