Skip to content

Commit

Permalink
Update pylint/message/message_definition_store.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
  • Loading branch information
DanielNoord and Pierre-Sassoulas committed Apr 5, 2022
1 parent 9539728 commit 5154338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/message/message_definition_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def register_message(self, message: MessageDefinition) -> None:
# and the arguments are relatively small in size we do not run the
# risk of creating a large memory leak.
# See discussion in: https://github.com/PyCQA/pylint/pull/5673
@functools.lru_cache(maxsize=400)
@functools.lru_cache(maxsize=None) # pylint: disable=cache-max-size-none
def get_message_definitions(self, msgid_or_symbol: str) -> List[MessageDefinition]:
"""Returns the Message definition for either a numeric or symbolic id.
Expand Down

0 comments on commit 5154338

Please sign in to comment.