Skip to content

[Question] A question about introducing black for code format #46

@ChenZiHong-Gavin

Description

@ChenZiHong-Gavin

Problem Type (问题类型)

configs (配置项 / 文档相关)

Before submit

  • I had searched in the issues and found no similar issues.

Environment (环境信息)

  • Server Version: 1.x.x
  • Toolchain Version: 1.x.x
  • Data Size: xx vertices, xx edges >

Your Question (问题描述)

I am thinking about introducing BLACK for code check but still confused about the process.

I also noticed that there's a style script already using BLACK, refer: https://github.com/apache/incubator-hugegraph-ai/blob/main/style/code_format_and_analysis.sh

This script is used in the pylint.yml workflow, but only the pylint functionality is enabled. Should I create a new workflow for using BLACK, following the structure of pylint.yml, or should I modify pylint.yml to make it capable of performing code formatting tasks as well?

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions