MetPX / sarracenia

https://MetPX.github.io/sarracenia
GNU General Public License v2.0
45 stars 22 forks source link

GitHub Action to catch typos #1177

Open reidsunderland opened 2 months ago

reidsunderland commented 2 months ago

We should run pychecker, pylint or something similar that could detect typos/incorrect variable names in a GitHub Action.

reidsunderland commented 2 months ago

https://github.com/microsoft/pyright

reidsunderland commented 2 months ago

pyright does find undefined variables: https://pyright-play.net/?code=MQAgKgFglgziMEMC2AHANgUxAEw0g9gHYwAuATgiRnBPgO4gDG%2BSBhIGZZ%2BZcjC7AEZZcVRlWzwSlKPzRoAniEFKUCslADmEEgDoAUPtwAzEAmzYAFAA8AXCGNp8lADQgF9x85IBKW-pBAkDIMEgBXMnZrEABqd0MkBQB9JBhNOABeEABtAF19Yx4QJBAodkSUtJh-IJAUDUISSwAiEggsJGpETSxYW2afAKD6sqbUzUGgA

This has a list of static analysis, etc. tools: https://github.com/analysis-tools-dev/static-analysis?tab=readme-ov-file#python