Skip to content

Update PyAmber formatter / linter to use pyproject.toml #3957

Closed

Description

@Xiao-zhen-Liu

Task Summary

Currently in PyAmber, Black (formatter) does not have a config , and we would have to rely on manual adjustments for formatting line lengths to comply with our custom flake8 rule of max-length=88. Having a black config can help us automatically adjust line lengths.

Black configs can only be set using pyproject.toml, and flake8 config can also be set in this file. As mentioned in #3912, for unified management, we we want to let PyAmber also use pyproject.toml for setting black and flake8 configurations.

Priority

P3 – Low

Task Type

  • Code Implementation
  • Documentation
  • Refactor / Cleanup
  • Testing / QA
  • DevOps / Deployment

Activity

  1. added a commit that references this issue on Oct 29, 2025
    b7944f3
  2. added a commit that references this issue on May 20, 2026
    344d6ff
  3. added a commit that references this issue on Jun 22, 2026
    17e3e5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions