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

'Not in UPPER_CASE_WITH_UNDERSCORES' warning for public constant vars removed #1530

Merged
merged 5 commits into from
Jan 25, 2023

Conversation

bart1e
Copy link
Contributor

@bart1e bart1e commented Dec 22, 2022

Fixes #1262.
Don't call is_upper_case_with_underscores on public constant variables.

@0xalpharush
Copy link
Member

Thanks for addressing this issue! Would you mind adding a detector test please? If you need any pointers lmk.

@bart1e
Copy link
Contributor Author

bart1e commented Jan 12, 2023

Test added, as requested. I took a test from the issue itself.

@0xalpharush
Copy link
Member

Awesome, thanks. The OP left out the constant attribute so that needs to be added to truly test it #1262 (comment)

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.

None yet

3 participants