Merge pull request #191 from fredj/pylint
Fix various errors found by pylint
This commit is contained in:
commit
863f87a570
30 changed files with 77 additions and 95 deletions
|
@ -1,7 +1,6 @@
|
|||
"""Core application engine"""
|
||||
|
||||
import os
|
||||
import time
|
||||
import pkgutil
|
||||
import logging
|
||||
import importlib
|
||||
|
|
|
@ -24,7 +24,6 @@ import json
|
|||
import time
|
||||
try:
|
||||
import requests
|
||||
from requests.exceptions import RequestException
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@ Requires the following executable:
|
|||
* gpmdp-remote
|
||||
"""
|
||||
|
||||
import string
|
||||
|
||||
import bumblebee.util
|
||||
import bumblebee.input
|
||||
import bumblebee.output
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -45,4 +45,3 @@ class Module(bumblebee.engine.Module):
|
|||
self._ip = get(self.address).text.rstrip()
|
||||
except Exception:
|
||||
self._ip = "No Connection"
|
||||
|
||||
|
|
|
@ -6,10 +6,6 @@ Requires the following executable:
|
|||
* xrandr
|
||||
"""
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
import bumblebee.util
|
||||
import bumblebee.input
|
||||
import bumblebee.output
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,7 +8,6 @@ Parameters:
|
|||
* traffic.showname: If set to False, hide network interface name (defaults to True)
|
||||
"""
|
||||
|
||||
import re
|
||||
import psutil
|
||||
import netifaces
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import shlex
|
||||
import datetime
|
||||
import logging
|
||||
import subprocess
|
||||
|
||||
|
|
Loading…
Reference in a new issue