Skip to content

Fix issues with black formatter #456

Closed

Description

@jpkrowe

Current PRs have been failing due to issues with black. @lilyminium identified in #452 that these failures can be avoided by pinning the python version to 3.12 as black version 22.3.0 is incompatible with python 3.15.

If we upgrade black to version 24, as used in the main MDAnalysis repo, black runs successfully with python 3.15 and requires no changes to the code.

We could also move to the most recent black version (26) which requires a handful of minor changes to the code.

I would appreciate any discussion. I also understand that there have been discussions around using ruff as a formatter so that could be a solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions