Skip to content

Commit 93b0da5

Browse files
code-health: remove utf-8 encoding instruction
Since Python 3 the default encoding of source files is already UTF-8 [1]. Unless instruction says something other than some variation of "utf-8", it has no effect [2]. 1. https://docs.python.org/3/howto/unicode.html#the-string-type 2. https://stackoverflow.com/questions/4872007/where-does-this-come-from-coding-utf-8 Part of #212
1 parent 770b567 commit 93b0da5

30 files changed

+2
-47
lines changed

doc/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Tarantool python client library documentation build configuration file, created by
42
# sphinx-quickstart on Tue Nov 29 06:29:57 2011.
53
#

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
2+
33
import codecs
44
import os
55
import re

tarantool/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# pylint: disable=C0301,W0105,W0401,W0614
32

43
import sys

tarantool/connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# pylint: disable=C0301,W0105,W0401,W0614
32
'''
43
This module provides low-level API for Tarantool

tarantool/connection_pool.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
import abc
42
import itertools
53
import queue

tarantool/const.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# pylint: disable=C0301,W0105,W0401,W0614
32

43
IPROTO_CODE = 0x00

tarantool/dbapi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
from tarantool.connection import Connection as BaseConnection
32
from tarantool.error import *
43

tarantool/error.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# pylint: disable=C0301,W0105,W0401,W0614
32
'''
43
Python DB API compatible exceptions

tarantool/mesh_connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
'''
32
This module provides the MeshConnection class with automatic switch
43
between Tarantool instances by the basic round-robin strategy.

tarantool/request.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# pylint: disable=C0301,W0105,W0401,W0614
32
'''
43
Request types definitions

0 commit comments

Comments
 (0)