Page MenuHomePhabricator

Add `pyflakes` or Similar to Lint Test for Python Executor
Closed, ResolvedPublic

Description

We currently don't have a mechanism for detecting unused code. We should. pyflakes is a good solution for this, but we can also consider alternatives, especially any code analyzers that also complain about long functions/classes that lack docstrings.

Details

TitleReferenceAuthorSource BranchDest Branch
Add pyflakes to CI and fix associated errors:repos/abstract-wiki/wikifunctions/function-evaluator!151apineapine-pyflakesmain
Customize query in GitLab

Event Timeline

cmassaro changed the task status from Open to In Progress.Feb 6 2024, 6:46 PM
cmassaro moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change 1002625 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-01-18-182630 to 2024-02-12-160222

https://gerrit.wikimedia.org/r/1002625

Change 1002625 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-01-18-182630 to 2024-02-12-160222

https://gerrit.wikimedia.org/r/1002625