Skip to content

Adopt a code style convention #7

Description

@EiffL

Since we are basing the code on TensorFlow, I suggest we follow the Google/TensorFlow code styling for python.

Here are some links to the documentation for this:

Essentially, the idea is that we are following pep8, but we only use 2 space tabs instead of 4.

I'll add a github action to run yapf on the code to make sure it is correctly formatted, will also add a pre-commit hook so that yapf can be run automatically before each commit.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions