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

[FEATURE] Lint Python scripts #33

Open
ia-eknorr opened this issue Jul 26, 2024 · 0 comments · May be fixed by #40
Open

[FEATURE] Lint Python scripts #33

ia-eknorr opened this issue Jul 26, 2024 · 0 comments · May be fixed by #40
Labels
enhancement New feature or request

Comments

@ia-eknorr
Copy link
Owner

Is your feature request related to a problem? Please describe.
Ignitionlint currently doesn't lint scripts found in the Project Library or embedded in views (buttons, etc.)

Describe the solution you'd like

  • Create a solution to lint Python scripts with Pylint (using python 2, of course)
    • This will involve having some sort of pylintrc file already embedded within the tool
  • Consider having a standard pylintrc file if none is provided, but also allow the user to insert their own, if they have one in their repo
  • The runner that takes this action will need to have py2 support in order to lint in py2. It may need to be explicitly installed
  • Send the standard pylint output to the action log, if there are errors. If there are no errors, job should pass.
@ia-eknorr ia-eknorr added the enhancement New feature or request label Jul 26, 2024
@ia-eknorr ia-eknorr linked a pull request Aug 14, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant