Skip to content

change black version in github workflow  #1526

@shahzebsiddiqui

Description

@shahzebsiddiqui

the black version we are using is

black==23.3.0

Also the one in pre-commit is

- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
language_version: python3

But the one used in github workflow is

version: "~= 22.0"

We should change the version in github workflow. See https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage for more detail i think we should still continue with hardcoded version as pose to using @stable.

Metadata

Metadata

Assignees

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