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

Document mypy GitHub action #11359

Open
JukkaL opened this issue Oct 19, 2021 · 7 comments
Open

Document mypy GitHub action #11359

JukkaL opened this issue Oct 19, 2021 · 7 comments

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Oct 19, 2021

Document the mypy GitHub action definition introduced in #11320.

@engrravijain
Copy link

@JukkaL, I will be happy to contribute to mypy. Can you please elaborate a bit more on the requirement here and how to get started?

@ethanhs
Copy link
Collaborator

ethanhs commented Oct 21, 2021

@engrravijain Our documentation is in the docs/ folder. You can also see the live version here: https://mypy.readthedocs.io/en/stable/

I think for this we would want a new page under 'Miscellaneous" that talks about the Github action, such as the inputs and a few examples of configuring its use in a workflow.

It might also be good to link to the docs about it from our README

@noob8boi
Copy link
Contributor

noob8boi commented Nov 5, 2021

Hello.. I never contributed on open source before so I am pretty confused on what to add about GitHub Action in the docs ? Like I have to write my own information based on the link provided?

@SwagatSBhuyan
Copy link

SwagatSBhuyan commented Nov 9, 2021

I would like to take on this issue, but I have a few doubts, it would be really kind of you guys to maybe guide me in the right direction. @JukkaL @ethanhs

I read up on GitHub actions, and the syntax of yaml files to make such GitHub workflows possible. My doubt is whether these workflows can be triggered by a contributor on his/her local machine, given he/she has GitHub CLI setup. Then should I make the documentation specifying the details of how to get the workflow tests running on the local system. OR, is the documentation supposed to be explaining all the workflow tests that are already there in the action yaml file, such as mypy testing, flake8, etc.? In that case, I will have to explain the inner workings of these test runs in the documentation, right?
It would be much appreciated if these doubts are answered, I'm really excited to get started with this issue.

Thanks in advanced!

@ethanhs
Copy link
Collaborator

ethanhs commented Nov 10, 2021

@SwagatSBhuyan This is to document the action that other people can use in their own workflows, not to document our actions workflow. You cannot (as far as I am aware) run actions locally, it is only for CI.

I'd recommend looking at the pull request Jukka mentioned as well.

@SwagatSBhuyan
Copy link

@SwagatSBhuyan This is to document the action that other people can use in their own workflows, not to document our actions workflow. You cannot (as far as I am aware) run actions locally, it is only for CI.

I'd recommend looking at the pull request Jukka mentioned as well.

This means I should document the making of a custom .yml for users to write their own workflows in general, right?

@sobolevn
Copy link
Member

See #11320 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants