Skip to content

Add static analysis tools for PRs #672

@George3d6

Description

@George3d6

We need to add a static analysis tool that triggers on each PR and provides a report, ideally flake8 style 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 use exec and eval or 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

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershacktoberfestContirubte to Lightwood and participate in Hacktoberfest.help wantedExtra attention is neededtestAdding or modifying some tests or testing-methodology

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions