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

Create Python Script + CI to check for language coverage in code blocks #2727

Closed

Conversation

falOn-Dev
Copy link

I wanted to build a quick tool that would allow people to view what percentage of code blocks contain which languages, as well as letting people know which blocks were missing languages.

This is a python script that I also added to run with the CI.yml workflow, although I'm not married to it running during CI, and would be fine if it was just a tool that can be ran.

@@ -186,3 +186,18 @@ jobs:
- name: Format
run: |
black --check .

check-codeblock-coverage:
runs-on: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

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

You should pin the version

Copy link
Author

Choose a reason for hiding this comment

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

I might be missing something but none of the other jobs specify an ubuntu version?

@falOn-Dev
Copy link
Author

I have discovered some weird issues with this that I can't get working, so I am going to close this for the time being, as I think putting it in, in a semi-functional state would be a detriment.

@falOn-Dev falOn-Dev closed this Sep 7, 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