Skip to content

Commit

Permalink
Fix pylint warning on Codacy side
Browse files Browse the repository at this point in the history
  • Loading branch information
ezh committed Feb 14, 2020
1 parent f56f5d5 commit 23d62e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ disable=
C0301, # [black] Line too long
C0330, # [black] Wrong hanging indentation before block
E0401, # import-error
R0903, # too-few-public-methods
2 changes: 1 addition & 1 deletion cloudselect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from __future__ import absolute_import, division, print_function

import dependency_injector.containers as containers
import pkg_resources
import pkg_resources # pylint: disable=wrong-import-order

from .instance import Instance

Expand Down
4 changes: 2 additions & 2 deletions cloudselect/cloudselect.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
import os
import sys
import traceback
from logging.config import dictConfig
from logging.config import dictConfig # pylint: disable=ungrouped-imports

import appdirs
import chardet
import dependency_injector.providers as providers
import pkg_resources
import pkg_resources # pylint: disable=wrong-import-order
from yaml import safe_load

import cloudselect
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
__version__ = "20.1.6"


this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
THIS_DIRECTORY = path.abspath(path.dirname(__file__))
with open(path.join(THIS_DIRECTORY, "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()

setup(
name="cloudselect",
Expand All @@ -34,7 +34,7 @@
include_package_data=True,
keywords=["Cloud", "CLI", "FZF", "SSH", "SCP", "AWS"],
license="MIT",
long_description=long_description,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=find_packages(),
python_requires=">=3",
Expand Down

0 comments on commit 23d62e9

Please sign in to comment.