Skip to content

Commit 8775f70

Browse files
committed
Add editorconfig and remove vim configuration lines.
1 parent 6731fe3 commit 8775f70

File tree

11 files changed

+6
-24
lines changed

11 files changed

+6
-24
lines changed

.editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*.{py,c}]
4+
indent_style = tab
5+
indent_size = tab
6+
tab_width = 4

postgresql/api.py

-2
Original file line numberDiff line numberDiff line change
@@ -1377,5 +1377,3 @@ def __exit__(self, exc, val, tb):
13771377
__docformat__ = 'reStructuredText'
13781378
if __name__ == '__main__':
13791379
help(__package__ + '.api')
1380-
##
1381-
# vim: ts=3:sw=3:noet:

postgresql/bin/pg_python.py

-2
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,3 @@ def command(argv = sys.argv):
134134

135135
if __name__ == '__main__':
136136
sys.exit(command(sys.argv))
137-
##
138-
# vim: ts=3:sw=3:noet:

postgresql/cluster.py

-2
Original file line numberDiff line numberDiff line change
@@ -635,5 +635,3 @@ def wait_until_stopped(self, timeout = 10, delay = 0.05):
635635
creator = self,
636636
)
637637
time.sleep(delay)
638-
##
639-
# vim: ts=3:sw=3:noet:

postgresql/configfile.py

-2
Original file line numberDiff line numberDiff line change
@@ -317,5 +317,3 @@ def getset(self, keys):
317317
for x in (keys - set(cfg.keys())):
318318
cfg[x] = None
319319
return cfg
320-
##
321-
# vim: ts=3:sw=3:noet:

postgresql/exceptions.py

-2
Original file line numberDiff line numberDiff line change
@@ -748,5 +748,3 @@ def code_lookup(
748748
)
749749
)
750750
)
751-
##
752-
# vim: ts=3:sw=3:noet:

postgresql/port/_optimized/buffer.c

-3
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,3 @@ PyTypeObject pq_message_stream_Type = {
624624
p_new, /* tp_new */
625625
NULL, /* tp_free */
626626
};
627-
/*
628-
* vim: ts=3:sw=3:noet:
629-
*/

postgresql/port/_optimized/functools.c

-3
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,3 @@ compose(PyObject *self, PyObject *args)
335335

336336
return(rob);
337337
}
338-
/*
339-
* vim: ts=3:sw=3:noet:
340-
*/

postgresql/port/_optimized/module.c

-3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,3 @@ PyInit_optimized(void)
149149
Py_DECREF(mod);
150150
return(NULL);
151151
}
152-
/*
153-
* vim: ts=3:sw=3:noet:
154-
*/

postgresql/port/_optimized/wirestate.c

-3
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,3 @@ PyTypeObject WireState_Type = {
284284
ws_new, /* tp_new */
285285
NULL, /* tp_free */
286286
};
287-
/*
288-
* vim: ts=3:sw=3:noet:
289-
*/

postgresql/python/command.py

-2
Original file line numberDiff line numberDiff line change
@@ -633,5 +633,3 @@ def command(argv = sys.argv):
633633

634634
if __name__ == '__main__':
635635
sys.exit(command())
636-
##
637-
# vim: ts=3:sw=3:noet:

0 commit comments

Comments
 (0)