EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

Increase Pylint Score for the current codebase

Open RishabhJain2018 opened this issue 8 months ago • 13 comments

Improve Pylint Coverage and Code Quality in EvalAI

Description

We recently added pylint to our CI pipeline with a minimum score requirement of 5.0, but we need to improve our overall pylint score and fix common code quality issues throughout the codebase.

Current Status

  • Pylint has been integrated into our Travis CI pipeline
  • Current pylint score is below the acceptable threshold :(
  • Refer here: https://app.travis-ci.com/github/Cloud-CV/EvalAI/jobs/631902183
  • Multiple error categories are being reported that need fixing

Objectives

  1. Identify and fix common pylint errors and warnings
  2. Increase the overall pylint score from current level to at least 7.5
  3. Standardize code quality across the codebase

Proposed Tasks

  • [ ] Address unused imports and variables (typically detected by C0410, W0611)
  • [ ] Fix line length issues to comply with PEP 8 (79 characters)
  • [ ] Add missing docstrings to modules, classes, and functions
  • [ ] Fix poor variable naming and code style issues
  1. First fix all error-level issues (--errors-only)
  2. Then address warning-level issues
  3. Finally work on convention and refactor messages

RishabhJain2018 avatar Apr 03 '25 09:04 RishabhJain2018

I would like to work on this issue! @RishabhJain2018

donburi82 avatar Apr 03 '25 16:04 donburi82

Hey @donburi82 , Sure. It is big issue, so multiple people can work on this. Please open the PR for each module fixes.

RishabhJain2018 avatar Apr 03 '25 17:04 RishabhJain2018

Hey @RishabhJain2018 can i work on one of the modules?

Akshat453 avatar Apr 04 '25 07:04 Akshat453

hey @RishabhJain2018, I would like to work on this issue, if it's not assigned to anyone !!

abhishekaj28 avatar Apr 08 '25 02:04 abhishekaj28

Sure, please look at the current PRs and pick the ones for which no PR is opened so that work is not duplicated.

RishabhJain2018 avatar Apr 08 '25 02:04 RishabhJain2018

yeah yeah got it!! Thank you @RishabhJain2018

abhishekaj28 avatar Apr 08 '25 02:04 abhishekaj28

@RishabhJain2018 if issue is still available I would be happy to take it up!

Wendoom-dev avatar Jun 22 '25 11:06 Wendoom-dev

@RishabhJain2018 if this issue is still open i would like like to work on this

RautAtharv07 avatar Jun 29 '25 08:06 RautAtharv07

@RishabhJain2018 if this issue is still open I would love to fix some issues on this

Hell1213 avatar Sep 24 '25 12:09 Hell1213

@RishabhJain2018 actually i have fixed some issues and willing to create pr for those fixes

Hell1213 avatar Sep 24 '25 13:09 Hell1213

hello @RishabhJain2018 can you check this pr ??

Hell1213 avatar Sep 25 '25 14:09 Hell1213

i would also like to work on this if the issue is still open!

Impromptu55 avatar Nov 06 '25 00:11 Impromptu55