📌(backend) pint pylint to version < 4.0.0

django-pylint is not compatible with pylint 4. We have to pin the pylint
version while the compatibility is not effective.
See https://github.com/pylint-dev/pylint-django/issues/467
This commit is contained in:
Manuel Raynaud
2025-10-30 15:22:55 +01:00
parent aa2b9ed5f2
commit 82e1783317
2 changed files with 7 additions and 1 deletions

View File

@@ -19,6 +19,12 @@
"matchPackageNames": ["redis"], "matchPackageNames": ["redis"],
"allowedVersions": "<6.0.0" "allowedVersions": "<6.0.0"
}, },
{
"groupName": "allowed pylint versions",
"matchManagers": ["pep621"],
"matchPackageNames": ["pylint"],
"allowedVersions": "<4.0.0"
},
{ {
"enabled": false, "enabled": false,
"groupName": "ignored js dependencies", "groupName": "ignored js dependencies",

View File

@@ -79,7 +79,7 @@ dev = [
"ipython==9.6.0", "ipython==9.6.0",
"pyfakefs==5.10.0", "pyfakefs==5.10.0",
"pylint-django==2.6.1", "pylint-django==2.6.1",
"pylint==4.0.2", "pylint<4.0.0",
"pytest-cov==7.0.0", "pytest-cov==7.0.0",
"pytest-django==4.11.1", "pytest-django==4.11.1",
"pytest==8.4.2", "pytest==8.4.2",