Skip to content

Python: py_samples could run blacken #899

@tswast

Description

@tswast

The noxfile.py in the samples template now includes a blacken session. It's great to run this, but I notice that the changes it makes get reverted the next time that synthtool runs. I think it makes sense for blacken to blacken the noxfile, but if used then it shouldn't get reverted.

Since I'm not sure if all of our samples are using black, I propose we add an optional parameter to py_samples that runs blacken when done copying everything.

Reference:

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions