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 github actions for python linting #14

Open
ManavalanG opened this issue Aug 15, 2023 · 2 comments
Open

Add github actions for python linting #14

ManavalanG opened this issue Aug 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ManavalanG
Copy link
Member

Questions:

  • Which tool to use for linting python?
  • Environment to use
    • is requirements.txt necessary?
    • What if we use conda env? What if there are multiple conda envs?
    • What would be a good "generic" environment that should go into template repo? Is this even possible?
@ManavalanG ManavalanG added the enhancement New feature or request label Aug 15, 2023
@ManavalanG ManavalanG mentioned this issue Aug 15, 2023
4 tasks
@ManavalanG
Copy link
Member Author

I attempted adding pytest based linting in branch python-lint-gh-actions by modifying actions used in rosalution. It ended in error at the stage of setting up python. It appears requirements.txt is necessary?

@ManavalanG
Copy link
Member Author

Perhaps using black may be the easiest way to lint python?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant