NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Need Python utility / library to sort imports tool implementation #73

Closed NaureenBharwaniNOAA closed 6 months ago

NaureenBharwaniNOAA commented 6 months ago

Currently, there is no standardized way to format the imports to ensure consistency.

The use of isort, a code formatting tool should be incorporated into the chiltepin environment, both for containers and for on-prem HPC systems so that users can conform to standardization for sorting imports alphabetically, and automatically separated into sections and by type before contributing to the repository.

The addition of isort should also handle any no changes that will be applied once the tool is added. The isort tool will be added with the Format Check step in the CI to apply consistency, and since black and isort are compatible that can be added directly next to each other.

closes #72 .