Skip to content

Code style preferences #188

@erickisos

Description

@erickisos

Hey everyone!

I'm looking at the code and I saw that there are some inconsistencies between code formatting, mainly in the usage of quotes (" on some strings and ' in other cases).
So what do you think about establishing some preferences on code style? I mean, we already have flake8 to check whether the code follows some PEP8 recommendations, but I want to be sure before adding extra elements or something that could break the current approach?

I know that we have this section and that we are following this guide and PEP8, so I just want to be sure that we are in the same channel.

Also if we don't want to start adding a lot of manual/custom rules, we can work directly with an unopinionated framework like black, which usually follows everything in the PEP8 (except for the double quotes).

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationMissing documentation or improvements in the existing one

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions