Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[feature]: Lint: Ruff / Flake8 to warn on ic() usssage #181

Open
aemonge opened this issue Apr 24, 2024 · 3 comments
Open

[feature]: Lint: Ruff / Flake8 to warn on ic() usssage #181

aemonge opened this issue Apr 24, 2024 · 3 comments

Comments

@aemonge
Copy link

aemonge commented Apr 24, 2024

As there's the lint rule to avoid leaving prints in code that would go to production, it would be really usefull to have the same for ic()

@maekind
Copy link

maekind commented Jan 10, 2025

Hi @aemonge! I wanted to contribute to the project, so I created a plugin for flake8 to verify you are not using ic calls within your call 🌟
Here is the pipy package: https://pypi.org/project/flake8-ic/
And my repository: https://github.com/maekind/flake8-ic

It's super simple. I should check the icecream code to verify if there are more use cases we should implement.
In any case, if you see any improvement, let me know!
I hope is useful 🙏🏻

@maekind
Copy link

maekind commented Jan 10, 2025

Btw, I think the issue could be close.

@aemonge
Copy link
Author

aemonge commented Jan 14, 2025

Thank a lot <3

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants