Skip to content

feat(pre-commit): adds pre-commit linting, yaml-compliance checking, …#10

Merged
TBThomas56 merged 5 commits into
mainfrom
pre-commit-check-yaml
Jun 30, 2026
Merged

feat(pre-commit): adds pre-commit linting, yaml-compliance checking, …#10
TBThomas56 merged 5 commits into
mainfrom
pre-commit-check-yaml

Conversation

@Matt-Carre

Copy link
Copy Markdown
Collaborator

…yaml-regeneration, and environment variables

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f2bbe7f) to head (37022f3).

Additional details and impacted files
@@             Coverage Diff              @@
##             main       #10       +/-   ##
============================================
+ Coverage   17.88%   100.00%   +82.11%     
============================================
  Files           4         3        -1     
  Lines         123        22      -101     
============================================
  Hits           22        22               
+ Misses        101         0      -101     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/.env Outdated
Comment thread src/python_interface_to_workflows/workflow_definitions/create_division_yaml.py Outdated
Comment thread .pre-commit-config.yaml

@JamesDoingStuff JamesDoingStuff left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good work! Got a few suggestions - hope you don't think me harsh, but you're getting the hang of this quickly so we have time to be thorough :)

Comment thread src/python_interface_to_workflows/workflow_definitions/create_division_yaml.py Outdated
Comment thread src/python_interface_to_workflows/workflow_definitions/create_division_yaml.py Outdated
Comment thread src/python_interface_to_workflows/workflow_definitions/create_division_yaml.py Outdated
Comment thread src/python_interface_to_workflows/workflow_definitions/create_division_yaml.py Outdated
Comment thread checkyamlcompliance Outdated
Comment thread checkyamlcompliance Outdated
Comment thread checkyamlcompliance Outdated
Comment thread Dockerfile Outdated
Comment thread checkyamlcompliance Outdated
@JamesDoingStuff

Copy link
Copy Markdown
Collaborator

Also, is there a reason for leaving file extensions off the scripts? I know they're not required, but I find them helpful to know what the contents looks like and to distinguish from binaries

@Matt-Carre Matt-Carre force-pushed the pre-commit-check-yaml branch 6 times, most recently from c825a20 to a7b23f6 Compare June 29, 2026 10:05

@JamesDoingStuff JamesDoingStuff left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice, just a couple of comments, mostly stylistic

Comment thread scripts/checkyamlcompliance.py
Comment thread scripts/checkyamlcompliance.py Outdated
Comment thread scripts/checkyamlcompliance.py Outdated
Comment thread divisionyaml.yaml Outdated
@Matt-Carre Matt-Carre force-pushed the pre-commit-check-yaml branch from 0a80703 to 510ad96 Compare June 30, 2026 09:45
Comment thread src/.env Outdated
@Matt-Carre Matt-Carre force-pushed the pre-commit-check-yaml branch from 510ad96 to ee382ea Compare June 30, 2026 10:58
@TBThomas56 TBThomas56 force-pushed the pre-commit-check-yaml branch from 4801d8d to 37022f3 Compare June 30, 2026 11:18
@TBThomas56 TBThomas56 merged commit b0bb15c into main Jun 30, 2026
11 checks passed
@TBThomas56 TBThomas56 deleted the pre-commit-check-yaml branch June 30, 2026 11:21
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