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

addons/namingng.py: allow function/variable name test without prefixes #5801

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

mvds00
Copy link
Contributor

@mvds00 mvds00 commented Dec 23, 2023

This patch allows a config file to have RE_VARNAME and RE_FUNCTIONNAME without the corresponding var_prefixes and function_prefixes keys. The namingng.py processing function would otherwise raise an exception trying to get these keys, while they are not strictly necessary, if no prefixes are required.

…uiring prefixes

This patch allows a config file to have RE_VARNAME and RE_FUNCTIONNAME without
the corresponding var_prefixes and function_prefixes keys. The namingng.py
processing function would otherwise raise an exception trying to get these
keys, while they are not strictly necessary, if no prefixes are required.
@danmar danmar merged commit d506e7e into danmar:main Dec 23, 2023
68 checks passed
@firewave
Copy link
Collaborator

firewave commented Jan 5, 2024

I would like to have a unit test for this.

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.

3 participants