-
Notifications
You must be signed in to change notification settings - Fork 101
Add static analysis tools for PRs #672
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomershacktoberfestContirubte to Lightwood and participate in Hacktoberfest.Contirubte to Lightwood and participate in Hacktoberfest.help wantedExtra attention is neededExtra attention is neededtestAdding or modifying some tests or testing-methodologyAdding or modifying some tests or testing-methodology
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershacktoberfestContirubte to Lightwood and participate in Hacktoberfest.Contirubte to Lightwood and participate in Hacktoberfest.help wantedExtra attention is neededExtra attention is neededtestAdding or modifying some tests or testing-methodologyAdding or modifying some tests or testing-methodology
We need to add a static analysis tool that triggers on each PR and provides a report, ideally
flake8style where we can configure its behaviour and have the action fail until the PR respects all imposed rules. The "configure behaviour" bit is important since we might have some standards that are not in line with static analysis preferences (e.g. there's certain bits where we useexecandevalor where we must use*imports and so forth)Multiple people can tackle this one, since the ore tools the merrier as long as they catch actual errors, ideally also fix the errors detected as part of the PR if it's easy enough. However if the tool catch more than 5-10 errors then don't bother, just make the PR, since we might think those are not actual errors and will want to configure them away.
Currently, I use pylance and find it amazing for this, but am open to any tool