GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

qtsass.watchers   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 8
dl 0
loc 32
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
# -----------------------------------------------------------------------------
3
# Copyright (c) 2015 Yann Lanthony
4
# Copyright (c) 2017-2018 Spyder Project Contributors
5
#
6
# Licensed under the terms of the MIT License
7
# (See LICENSE.txt for details)
8
# -----------------------------------------------------------------------------
9
"""The qtsass Watcher is responsible for watching and recompiling sass.
10
11
The default Watcher is the QtWatcher. If Qt is unavailable we fallback to the
12
PollingWatcher.
13
"""
14
15
# yapf: disable
16
17
from __future__ import absolute_import
18
19
# Local imports
20
from qtsass.watchers.polling import PollingWatcher
21
22
23
try:
24
    from qtsass.watchers.qt import QtWatcher
25
except ImportError:
26
    QtWatcher = None
27
28
29
# yapf: enable
30
31
Watcher = QtWatcher or PollingWatcher
32