Skip to content

Commit

Permalink
Merge da5381d into f135295
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPal committed May 24, 2021
2 parents f135295 + da5381d commit 3a43c6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pylint_quotes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""pylint-quotes module"""

from __future__ import absolute_import
from pylint_quotes import plugin, checker # noqa: F401

from pylint_quotes import checker, plugin # noqa: F401

register = plugin.register # pylint: disable=invalid-name
2 changes: 1 addition & 1 deletion pylint_quotes/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__title__ = 'pylint-quotes'
__description__ = 'Quote consistency checker for PyLint..'
__url__ = 'https://github.com/edaniszewski/pylint-quotes'
__version__ = '0.2.1'
__version__ = '0.2.2'
__author__ = 'Erick Daniszewski'
__author_email__ = 'edaniszewski@gmail.com'
__license__ = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion pylint_quotes/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def get_offset(col):
Returns:
dict: Keyword arguments to pass to add_message
"""
if (2, 2, 2) < pylint_version:
if ('2', '2', '2') < tuple(map(str, pylint_version)):
return {'col_offset': col}
return {}

Expand Down

0 comments on commit 3a43c6b

Please sign in to comment.