#9659 Lint failure on ipa-4-9 branch
Closed: fixed by frenaud. Opened by frenaud.

The lint test executed in azure CI started failing in ipa-4-9 branch around July 8.
Last green run: with PR 7424 July 8 (https://github.com/freeipa/freeipa/runs/27164901989)
First red run: with PR 7451 July 18 (https://github.com/freeipa/freeipa/runs/27615175581)

Example of detected issues:

pylint 2.12.2
astroid 2.9.3
Python 3.10.11 (main, Apr  5 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]
************* Module ipalib.base
ipalib/base.py:472: [I0021(useless-suppression), ] Useless suppression of 'invalid-sequence-index')
************* Module ipatests.test_ipaplatform.test_tasks
ipatests/test_ipaplatform/test_tasks.py:17: [E1101(no-member), test_ipa_version] Instance of 'Version' has no 'version' member; maybe '_version'?)
ipatests/test_ipaplatform/test_tasks.py:24: [E1101(no-member), test_ipa_version] Instance of 'Version' has no 'version' member; maybe '_version'?)
ipatests/test_ipaplatform/test_tasks.py:34: [C0113(unneeded-not), test_ipa_version] Consider changing "not v3 == v4" to "v3 != v4")
------------------------------------

The new errors are not related to code changes but rather to different python modules installed with pip.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7524

ipa-4-9:

  • 0b75a49e616ab905207849289ba8bb8f90f7d062 pylint: use setuptools 70.2.0 on ipa-4-9 branch

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata