Fix linting errors

Remove unused imports
Disable redundant errors
Add notes for why errors are disabled
This commit is contained in:
2024-08-15 14:41:34 -04:00
committed by Ethan Paul
parent 6837a64121
commit f37463d172
9 changed files with 15 additions and 11 deletions

View File

@@ -21,13 +21,13 @@ at the module scope it is imported into function scope wherever Poetry component
moves import errors from load time to runtime which allows the plugin to be skipped if Poetry isn't
installed and/or a more helpful error be raised within the Tox framework.
"""
# pylint: disable=unused-import
import sys
from tox_poetry_installer import exceptions
try:
# pylint: disable=import-outside-toplevel,unused-import
from cleo.io.null_io import NullIO
from poetry.config.config import Config
from poetry.core.packages.dependency import Dependency as PoetryDependency