Ignore attribute-defined-outside-init pylint warnings in tests (#119470)

This commit is contained in:
epenet 2024-06-12 12:22:31 +02:00 committed by GitHub
parent 2a7e78a80f
commit 7d631c28a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 0 deletions

View file

@ -47,7 +47,9 @@ def manager():
return result
mgr = FlowManager(None)
# pylint: disable-next=attribute-defined-outside-init
mgr.mock_created_entries = entries
# pylint: disable-next=attribute-defined-outside-init
mgr.mock_reg_handler = handlers.register
return mgr