Skip to content

Commit f8aae61

Browse files
author
BoboTiG
committed
Disable 'missing class docstring', I know ...
1 parent 84f048f commit f8aae61

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.coafile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ bears = LineLengthBear, SpaceConsistencyBear, PEP8Bear, PyImportSortBear, PyLint
33
files = mss/*.py
44
use_spaces = yeah
55

6-
pylint_disable = locally-disabled, E0401, R0903
6+
pylint_disable = locally-disabled, E0401, R0903, C0111

mss/darwin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# coding: utf-8
33
''' MacOS X version of the MSS module. See __init__.py. '''
44

5+
# pylint: disable=import-error
6+
57
from __future__ import absolute_import
68

79
from LaunchServices import kUTTypePNG

mss/linux.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,13 @@ def get_pixels_slow(self, ximage):
245245
'''
246246

247247
# @TODO: this part takes most of the time. Need a better solution.
248-
def pix(pixel, _resultats={}, pack=struct.pack): # pylint: disable=W0102
248+
def pix(pixel, _resultats={}, pack=struct.pack):
249249
''' Apply shifts to a pixel to get the RGB values.
250250
This method uses of memoization.
251251
'''
252+
253+
# pylint: disable=W0102
254+
252255
if pixel not in _resultats:
253256
_resultats[pixel] = pack(b'<B', (pixel & rmask) >> 16) + \
254257
pack(b'<B', (pixel & gmask) >> 8) + \

0 commit comments

Comments
 (0)