Skip to content

Improve GH Action for Black to use --check #203

@tomschr

Description

@tomschr

Situation

Originally posted by @ppkt in #200 (comment):

I know it's already merged but I have an idea - maybe instead of formatting code base and uploading .diff file, this action should only check whether code is formatted (i.e. exit code from black is 0 - see option --check)?

Proposed Solution

  • Remove diff creation
  • Add option --check

Metadata

Metadata

Assignees

Labels

EnhancementNot a bug, but increases or improves in value, quality, desirability, or attractivenessInfraAll about infrastructure (GitHub Action, project build etc.)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions