-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EC89] Avoid using function cache without limit #26
Labels
🗃️ rule
rule improvment or rule development or bug
Comments
B3ND3L
added a commit
to B3ND3L/ecoCode-python
that referenced
this issue
May 30, 2024
B3ND3L
added a commit
to B3ND3L/ecoCode-python
that referenced
this issue
May 31, 2024
Hi @B3ND3L, @Flow35650 please see my review feedback in PR green-code-initiative/creedengo-rules-specifications#327 |
B3ND3L
added a commit
to B3ND3L/ecoCode-python
that referenced
this issue
Jun 3, 2024
B3ND3L
added a commit
to B3ND3L/ecoCode-python
that referenced
this issue
Jun 3, 2024
B3ND3L
added a commit
to B3ND3L/ecoCode-python
that referenced
this issue
Jun 5, 2024
dedece35
added a commit
that referenced
this issue
Jun 5, 2024
[Issue #26][EC89] Avoid unlimited cache
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
If a function has decorators without max size cache, the program will store unlimited datas
Solution:
To warn the developer about this cache bad habit, we have to add a new rule on the following decorators:
Additional context:
Problem discussed with @dedece35 during ecoCode Challenge 24. Initially based on the issue CRPYT204 in kanban board
The text was updated successfully, but these errors were encountered: