Skip to content

Commit

Permalink
remove import-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Sep 23, 2024
1 parent 61274b9 commit 5485fa9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 40 deletions.
30 changes: 0 additions & 30 deletions linter/check_import_tools.py

This file was deleted.

2 changes: 0 additions & 2 deletions linter/conanv2_transition.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@

from pylint.lint import PyLinter
from linter.check_package_name import PackageName
from linter.check_import_tools import ImportTools
from linter.check_layout_src_folder import LayoutSrcFolder
from linter.check_version_attribute import VersionAttribute


def register(linter: PyLinter) -> None:
linter.register_checker(PackageName(linter))
linter.register_checker(ImportTools(linter))
linter.register_checker(LayoutSrcFolder(linter))
linter.register_checker(VersionAttribute(linter))
5 changes: 1 addition & 4 deletions linter/pylintrc_recipe
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[MASTER]
load-plugins=linter.conanv2_transition,
linter.transform_conanfile,
linter.transform_imports

py-version=3.6
recursive=no
Expand All @@ -18,9 +17,7 @@ disable=fixme,
wrong-import-order, # TODO: Remove
import-outside-toplevel # TODO: Remove

enable=conan-bad-name,
conan-missing-name,
conan-import-conanfile,
enable=conan-missing-name,
conan-forced-version

[REPORTS]
Expand Down
6 changes: 2 additions & 4 deletions linter/pylintrc_testpackage
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[MASTER]
load-plugins=linter.conanv2_transition,
linter.transform_conanfile,
linter.transform_imports
linter.transform_conanfile

py-version=3.6
recursive=no
Expand All @@ -22,8 +21,7 @@ disable=fixme,
conan-missing-layout-src-folder,
conan-layout-src-folder-is-src

enable=conan-test-no-name,
conan-import-conanfile
enable=conan-test-no-name

[REPORTS]
evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error) / statement) * 10))
Expand Down

0 comments on commit 5485fa9

Please sign in to comment.