Skip to content

[RFC][Votable] Code Quality Tools Integration (Linter & Formatter & Import Organizer)Β #895

@tongyx361

Description

@tongyx361

Motivation

The current imports in the verl repository is messy. We might need some tool to streamline and standardize import management.

Draft Proposal

Given our current development pipeline that utilizes yapf for formatting and pylint for linting, we present two primary options:

  1. πŸ˜„ Integrate isort into the existing pipeline for import organization.
  2. πŸš€ Migrate to ruff, a comprehensive tool that can handle formatting, linting, and import organization simultaneously.

Question(s) to Discuss

Which option would be more suitable for our needs? You could make a vote under this issue using πŸ˜„ for isort or πŸš€ for ruff.

Additional Notes

This RFC issue is adapted from vLLM's awesome RFC issue template. If such a template seems useful to you, we may consider adding similar templates to the verl repository.

CC

@vermouth1992 @eric-haibin-lin @PeterSH6 @hiyouga @ETOgaosion @BearBiscuit05

Before Submitting

  • Have already searched for relevant issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions