Skip to content

Add black step #1

Description

@greenape

It would be great if we could enforce black style - there's a minor gotcha in that black doesn't as such work with jinja templates, although from testing it on this repo it only actually fails on hooks/post_gen_project.py

One workaround would be to apply a black check as part of CI which ignores files known to not be formattable, and also add a black step to post_gen_project.py so that generated projects are formatted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions