Skip to content
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

[Issue 918] Lint for print in /analytics #3026

Merged
merged 7 commits into from
Nov 26, 2024

Conversation

DavidDudas-Intuitial
Copy link
Collaborator

@DavidDudas-Intuitial DavidDudas-Intuitial commented Nov 25, 2024

Summary

Fixes #918

Time to review: 1 min

Changes proposed

What was added, updated, or removed in this PR.

Removed T201 from ignore array in pyproject.toml so that use of print statements will not be ignored by linter. Added exception for tests. Removed print from slack integration.

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers. Explain how the changes were verified.

Additional information

Screenshots, GIF demos, code examples or output to help show the changes working as expected.

@DavidDudas-Intuitial DavidDudas-Intuitial marked this pull request as ready for review November 26, 2024 00:41
@DavidDudas-Intuitial DavidDudas-Intuitial changed the title [Issue 918] Do not ignore T201 use of print detected [Issue 918] Lint for print in /analytics Nov 26, 2024
coilysiren
coilysiren previously approved these changes Nov 26, 2024
widal001
widal001 previously approved these changes Nov 26, 2024
Copy link
Collaborator

@widal001 widal001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@widal001
Copy link
Collaborator

@DavidDudas-Intuitial Looks like we might need to bump the python dependencies to resolve this anchore failure: poetry update

Screenshot 2024-11-26 at 10 38 27 AM

Copy link
Collaborator

@widal001 widal001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@DavidDudas-Intuitial DavidDudas-Intuitial merged commit 2bd43c0 into main Nov 26, 2024
5 of 6 checks passed
@DavidDudas-Intuitial DavidDudas-Intuitial deleted the issue-918-lint-print branch November 26, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Analytics - Add logging and lint for print statements
3 participants