diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b8372e..c9da594 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,11 +41,6 @@ jobs: with: extra_args: --hook-stage manual --all-files - - name: Run PyLint - run: | - echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json" - uv run nox -s pylint - checks: name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }} diff --git a/noxfile.py b/noxfile.py index 3e44320..5af7786 100644 --- a/noxfile.py +++ b/noxfile.py @@ -9,7 +9,7 @@ DIR = Path(__file__).parent.resolve() nox.needs_version = ">=2024.3.2" -nox.options.sessions = ["lint", "pylint", "tests"] +nox.options.sessions = ["lint", "tests"] nox.options.default_venv_backend = "uv|virtualenv" diff --git a/pyproject.toml b/pyproject.toml index 27d788c..beba76f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,26 +131,3 @@ ignore = [ [tool.ruff.lint.isort] combine-as-imports = true extra-standard-library = ["typing_extensions"] - - -[tool.pylint] -py-version = "3.10" -ignore-paths = [".*/_version.py"] -reports.output-format = "colorized" -similarities.ignore-imports = "yes" -messages_control.disable = [ - "design", - "duplicate-code", # too small of a project - "fixme", - "function-redefined", # for plum-dispatch - "line-too-long", - "missing-module-docstring", - "missing-function-docstring", - "no-member", # handled by mypy - "no-value-for-parameter", # for plum-dispatch - "too-many-function-args", # handled by testing - "unused-argument", # handled by ruff - "unused-wildcard-import", # handled by ruff - "wildcard-import", # handled by ruff - "wrong-import-position", -] diff --git a/src/dataclassish/_src/converters.py b/src/dataclassish/_src/converters.py index 0505d84..23b4757 100644 --- a/src/dataclassish/_src/converters.py +++ b/src/dataclassish/_src/converters.py @@ -7,7 +7,6 @@ """ # ruff:noqa: N801 -# pylint: disable=C0103 __all__ = [ # Converters diff --git a/src/dataclassish/_src/register_mapping.py b/src/dataclassish/_src/register_mapping.py index e7456cc..73c1868 100644 --- a/src/dataclassish/_src/register_mapping.py +++ b/src/dataclassish/_src/register_mapping.py @@ -126,7 +126,7 @@ def fields(obj: Mapping[str, Any], /) -> tuple[Field, ...]: # type: ignore[type Field(name='c',type=,...)) """ - fs = tuple(field(kw_only=True) for _ in obj) # pylint: disable=invalid-field-call + fs = tuple(field(kw_only=True) for _ in obj) for f, (k, v) in zip(fs, obj.items(), strict=True): f.name = k f.type = type(v)