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

Pre commit implementation #3001

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Pre commit implementation #3001

wants to merge 5 commits into from

Conversation

bogsi17
Copy link
Contributor

@bogsi17 bogsi17 commented Feb 19, 2025

No description provided.

@tvararu tvararu temporarily deployed to mavis-pr-3001 February 19, 2025 09:51 Inactive
@TheOneFromNorway TheOneFromNorway force-pushed the pre-commit_implementation branch 3 times, most recently from 382e652 to eeff2bc Compare March 3, 2025 09:09
- Run pre-commit as part of the linting workflow
- Run some checks just in the pipeline
  - Use manual hooks for this purpose
- Try to reproduce linting behviour
  - Run both in pipeline to test outcome
* Format files to be compliant with pre-commit
- Revert some erronious formation for .erb files
- Modify hooks to run as expected
  - e.g.not passing file names
  - brakeman hangs on pager if not excluded in hook
- Remove shellcheck it was too noisy at this stage
- Remove yaml check
  - A lot of copilot/configuraiton files do not conform to the check
    apparently
* Ensure tflint is happy
* Fix linting workflow to do necessary setups
* Ensure we run rubocop the right way
@TheOneFromNorway TheOneFromNorway force-pushed the pre-commit_implementation branch from af63eee to ec77b5c Compare March 3, 2025 13:40
Copy link

sonarqubecloud bot commented Mar 3, 2025

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