PyLint tweaks.

Added .pylint-ignores patchfile, with waived PyLint warnings
This commit is contained in:
sneakypete81 2013-07-28 18:40:27 +01:00
parent 3e5ba6ae28
commit d8e874aad6
8 changed files with 250 additions and 12 deletions

View file

@ -9,7 +9,7 @@ try:
except ImportError:
import StringIO as io # Python2
class Config:
class Config(object):
def __init__(self, config_file, host,
consumer_key, consumer_secret,
token, token_secret):
@ -46,7 +46,8 @@ def get_config_path(config_file):
def read_config(config_path):
"""
Loads config data from the specified file path.
If config_file doesn't exist, returns an empty authentication config for localhost.
If config_file doesn't exist, returns an empty authentication config
for localhost.
"""
section = "DUMMY"
defaults = {'host': 'localhost',