Skip to content

Code style #50

@AlecThomson

Description

@AlecThomson

Hi @maaijke,

A relatively unimportant issue, but just food for thought. Since this codebase has been around for a while (i.e. during the Python 2->3 era) and has had many contributors over the years, there are a mix of codestyles in place.

IMO, this has hurt some of the code readability and consistency. I'd like to recommend the implementation of a standard formatter / style. My recommendation would be enforcing a tool like ruff. On top of that, a pre-commit hook + CI could be added to enforce / fix codestyle for developers/contributers.

Let me know what you think, and I'm happy to help get these sorts of things implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions