Unverified Commit f703360e authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python3Packages.pylint-django: 2.6.1-unstable-2025-11-09 -> 2.7.0

parent aa83f8af
Loading
Loading
Loading
Loading
+6 −15
Original line number Diff line number Diff line
@@ -11,16 +11,16 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pylint-django";
  version = "2.6.1-unstable-2025-11-09";
  version = "2.7.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "PyCQA";
    repo = "pylint-django";
    rev = "e40d785abbf26af0738c14247fb4ac0aa7265b24";
    hash = "sha256-INQSQjubcwQwspaxevXQOF92L2K9WRLMLYsP18Ffhos=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-f0L/wYedLHtyi3/vro4n29oAY+axnQ5sBv545zD/Gvc=";
  };

  build-system = [ poetry-core ];
@@ -38,22 +38,13 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  disabledTests = [
    # AttributeError: module 'pylint.interfaces' has no attribute 'IAstroidChecker'
    "test_migrations_plugin"
    "func_noerror_model_unicode_lambda"
    "test_linter_should_be_pickleable_with_pylint_django_plugin_installed"
    "func_noerror_model_fields"
    "func_noerror_form_fields"
  ];

  pythonImportsCheck = [ "pylint_django" ];

  meta = {
    description = "Pylint plugin to analyze Django applications";
    homepage = "https://github.com/PyCQA/pylint-django";
    changelog = "https://github.com/pylint-dev/pylint-django/releases/tag/v${version}";
    changelog = "https://github.com/pylint-dev/pylint-django/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ kamadorueda ];
  };
}
})