diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2f4fb0cb..7c7e33868 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 ci: - skip: [mypy, pylint, dvc-pre-commit] + skip: [mypy, dvc-pre-commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -64,13 +64,6 @@ repos: language: system types: [python] require_serial: true - - id: pylint - name: pylint - entry: pylint - files: ^dvc/ - language: system - types: [python] - require_serial: true - hooks: - args: - git-hook diff --git a/pyproject.toml b/pyproject.toml index 563948e15..4d763c7ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,6 @@ gs = ["dvc-gs==2.22.1"] hdfs = ["dvc-hdfs==2.19"] lint = [ "mypy==1.5.1", - "pylint==3.0.1", "types-colorama", "types-psutil", "types-pyinstaller", @@ -248,23 +247,6 @@ module = [ [tool.codespell] ignore-words-list = "ba,datas,fo,uptodate,cachable,falsy" -[tool.pylint.message_control] -disable = [ - "cyclic-import", "design", "duplicate-code", "fixme", "format", "import-outside-toplevel", "invalid-name", - "missing-class-docstring", "missing-function-docstring", "missing-module-docstring", "multiple-imports", - "raise-missing-from", "refactoring", "spelling", - "ungrouped-imports", "unused-wildcard-import", "wrong-import-order", "wrong-import-position", -] -enable = ["c-extension-no-member", "no-else-return"] - -[tool.pylint.typecheck] -generated-members = ["argparse.Namespace", "logger.trace", "logging.TRACE", "pytest.lazy_fixture", "sys.getwindowsversion"] -signature-mutators = ["funcy.decorators.decorator"] - -[tool.pylint.variables] -dummy-variables-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)" -ignored-argument-names = "_.*|args|kwargs" - [tool.ruff] # external flake8 codes that should be preserved external = ["B301", "C901", "E302", "W601"]