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

Rename of pascal case to snake case #478

Merged
merged 6 commits into from
Apr 22, 2024

Conversation

TomGneuss
Copy link
Contributor

@TomGneuss TomGneuss commented Apr 20, 2024

As per issue #477 , the functions shall be renamed to use the correct nomenclature. The original authors of the code confused pascal case with snake case by mistake. The correct name should have been snake case.

@mristin
Copy link
Contributor

mristin commented Apr 20, 2024

@TomGneuss sorry, I forgot to mention. There are pre-commit checks in place: https://github.com/aas-core-works/aas-core-codegen/blob/main/CONTRIBUTING.rst#pre-commit-checks

Can you please re-format the code and commit again?

@TomGneuss
Copy link
Contributor Author

@mristin I ran the code-formatting script. However, the mypy part fails in (almost) all language generators and I cannot grasp where that problem originates from

@mristin
Copy link
Contributor

mristin commented Apr 22, 2024

@TomGneuss I'll try to have a look at it tonight.

@mristin
Copy link
Contributor

mristin commented Apr 22, 2024

Thanks, @TomGneuss ! I fixed the minor issues -- I think you forgot to rebase or propagate the renames in Git. I'd suggest you to rebase now the other pull request, #476.

@mristin mristin merged commit 464be4a into aas-core-works:main Apr 22, 2024
8 checks passed
@mristin mristin changed the title Renaming of _pascal case_ to _snake case_ Rename of _pascal case_ to _snake case_ May 8, 2024
@mristin mristin changed the title Rename of _pascal case_ to _snake case_ Rename of pascal case to snake case May 8, 2024
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