PyLint tweaks.
Added .pylint-ignores patchfile, with waived PyLint warnings
This commit is contained in:
parent
3e5ba6ae28
commit
d8e874aad6
8 changed files with 250 additions and 12 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue