opensearch-project / demos

Apache License 2.0
2 stars 13 forks source link

[FEATURE][DocBot] Add Black linting #94

Closed dtaivpp closed 9 months ago

dtaivpp commented 11 months ago

Is your feature request related to a problem?

At the moment our linters are all over the place and every other commit has different linting.

What solution would you like?

Black is a linting framework developed by the python software foundation. We should have a configuration that we used to ensure we all have consistent formatting. I propose we use two spaces instead of tabs or four spaces.

These config changes should be made in a new pyproject.toml config that would live at the root of the repository. I leave it up to the committer to help us determine what other settings we should enforce or not such as line length, function formatting, docstrings, etc.

dtaivpp commented 9 months ago

Closed witn #104