Skip to content

Support auto-formatting #539

@sacOO7

Description

@sacOO7
  • Current flake8 doesn't support auto-formatting.
  • Add black tool available in the market to support autoformatting.
  • Configure it to be compatible with flake8.
  • https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html
  • This is also needed to support auto-indenting after source code is generated using unasync.py.
  • Currently, it takes time to fix linting errors and add explicit support for auto-indent in unasync.py
  • There are lots of dummy commits being added as a part of fixing linting issues : (
    still, properly linted code is not guaranteed.
  • A mix of single/double quotes can be found throughout the code with unaligned indentation for function/method definitions.

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Assignees

Labels

No labels
No labels

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