Merge pull request #191 from fredj/pylint

Fix various errors found by pylint
This commit is contained in:
tobi-wan-kenobi 2017-10-17 20:17:21 +02:00 committed by GitHub
commit 863f87a570
30 changed files with 77 additions and 95 deletions

View file

@ -1,7 +1,6 @@
"""Core application engine"""
import os
import time
import pkgutil
import logging
import importlib

View file

@ -24,7 +24,6 @@ import json
import time
try:
import requests
from requests.exceptions import RequestException
except ImportError:
pass

View file

@ -6,8 +6,6 @@ Requires the following executable:
* gpmdp-remote
"""
import string
import bumblebee.util
import bumblebee.input
import bumblebee.output

View file

@ -10,10 +10,6 @@ Parameters:
* mocp.format: Format string for the song information. Tag values can be put in curly brackets (i.e. {artist})
"""
from collections import defaultdict
import string
import bumblebee.util
import bumblebee.input
import bumblebee.output

View file

@ -45,4 +45,3 @@ class Module(bumblebee.engine.Module):
self._ip = get(self.address).text.rstrip()
except Exception:
self._ip = "No Connection"

View file

@ -6,10 +6,6 @@ Requires the following executable:
* xrandr
"""
import os
import re
import sys
import bumblebee.util
import bumblebee.input
import bumblebee.output

View file

@ -18,7 +18,6 @@ import bumblebee.engine
import bumblebee.util
import requests
from requests.exceptions import RequestException
class Module(bumblebee.engine.Module):
def __init__(self, engine, config):

View file

@ -6,8 +6,6 @@ Parameters:
* todo.file: File to read TODOs from (defaults to ~/Documents/todo.txt)
"""
import platform
import bumblebee.input
import bumblebee.output
import bumblebee.engine

View file

@ -8,7 +8,6 @@ Parameters:
* traffic.showname: If set to False, hide network interface name (defaults to True)
"""
import re
import psutil
import netifaces

View file

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import shlex
import datetime
import logging
import subprocess