From d9cd0f8734ac1e305f93b04b2005b71989dfd241 Mon Sep 17 00:00:00 2001 From: Philippe Duval Date: Thu, 1 Nov 2018 11:41:09 -0400 Subject: [PATCH] Disable pylint old-style-class --- .pylintrc | 3 ++- dash/resources.py | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index fba35186cc..fcf0968f10 100644 --- a/.pylintrc +++ b/.pylintrc @@ -57,7 +57,8 @@ confidence= disable=fixme, missing-docstring, invalid-name, - too-many-lines + too-many-lines, + old-style-class # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option # multiple time (only on the command line, not in the configuration file where diff --git a/dash/resources.py b/dash/resources.py index 2193169ecf..6d6c97b4d1 100644 --- a/dash/resources.py +++ b/dash/resources.py @@ -75,8 +75,7 @@ def get_all_resources(self, dev_bundles=False): return res -class Css: - # pylint: disable=old-style-class +class Css: # pylint: disable=old-style-class def __init__(self, layout=None): self._resources = Resources('_css_dist', layout) self._resources.config = self.config