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

Add more linting and apply changes; Clean-up GH workflows. #4

Merged
merged 33 commits into from
Jun 4, 2024

Conversation

davidlion
Copy link
Member

Description

The linting and formatting for c++ code had fallen behind CLP and the linting for go code was not yet in workflows. This PR updates the linting and formatting for both languages:

  • switch to golangci-lint for go linting and formatting checks
  • update clang-format configuration + source
  • update clang-tidy to pass on linux and mac
  • update workflows to properly run linting on linux and mac

Validation performed

Validated on github actions

@davidlion
Copy link
Member Author

cc: @davemarco

Next PR should add yaml linting and taskfiles.

.github/workflows/lint.yml Outdated Show resolved Hide resolved
ir/deserializer.go Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
cpp/CMakeLists.txt Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
Copy link
Member

@kirkrodrigues kirkrodrigues left a comment

Choose a reason for hiding this comment

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

For the PR title, how about:

Add more linting and apply changes; Clean-up GH workflows.

@davidlion davidlion merged commit 969c115 into y-scope:main Jun 4, 2024
8 checks passed
@kirkrodrigues kirkrodrigues changed the title Update linting and formatting: update configs and workflows, fix source files Add more linting and apply changes; Clean-up GH workflows. Jun 4, 2024
@davidlion davidlion deleted the linting branch June 18, 2024 02:01
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