Skip to content

Commit

Permalink
🔧 config(pylint): remove
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Starkman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Jan 6, 2025
1 parent aefa264 commit 372b25d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 31 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down
23 changes: 0 additions & 23 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
1 change: 0 additions & 1 deletion src/dataclassish/_src/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""
# ruff:noqa: N801
# pylint: disable=C0103

__all__ = [
# Converters
Expand Down
2 changes: 1 addition & 1 deletion src/dataclassish/_src/register_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def fields(obj: Mapping[str, Any], /) -> tuple[Field, ...]: # type: ignore[type
Field(name='c',type=<class 'str'>,...))
"""
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)
Expand Down

0 comments on commit 372b25d

Please sign in to comment.