From 547910611c19bce55fc71755b43aeb03fd32617f Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 22 Apr 2017 11:10:01 +0200 Subject: [PATCH] [modules/traffic] fix docstring location --- bumblebee/modules/traffic.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bumblebee/modules/traffic.py b/bumblebee/modules/traffic.py index d1d4c0f..08d838c 100644 --- a/bumblebee/modules/traffic.py +++ b/bumblebee/modules/traffic.py @@ -1,3 +1,11 @@ +# pylint: disable=C0111,R0903 + +"""Displays network IO for interfaces. + +Parameters: + * traffic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth") +""" + import re import psutil import netifaces @@ -7,12 +15,6 @@ import bumblebee.input import bumblebee.output import bumblebee.engine -"""Displays network IO for interfaces. - -Parameters: - * traffic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth") -""" - class Module(bumblebee.engine.Module): def __init__(self, engine, config): widgets = []