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: Improve output and unit test. #5820

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

mvds00
Copy link
Contributor

@mvds00 mvds00 commented Jan 2, 2024

For naming issues reported, column was always set to 0, which is now fixed.

Global variable naming errors were reported as "Public member" issues, which is also fixed.

The unit test now covers namespaces, class names, public and private member variables.

addons/namingng.py reported all issues on column 0, which is now fixed.

The unit test is updated, and expanded with tests for checking class name,
namespace, public and private member variables.
Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

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

I think this is acceptable and can be merged if you feel it is ready.

please note my comment that the "column" can't be calculated properly when using directives.

addons/namingng.py Show resolved Hide resolved
@mvds00
Copy link
Contributor Author

mvds00 commented Jan 3, 2024

I think it is ready

@danmar danmar merged commit 8261ded into danmar:main Jan 3, 2024
68 checks passed
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.

2 participants