nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
20 stars 38 forks source link

Add consistency to imports based on `isort` settings #139

Closed ThibFrgsGmz closed 1 year ago

ThibFrgsGmz commented 1 year ago
Originating Project/Creator
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

This PR consists of de-duplicating, grouping and sorting imports according to isort parameters.

Rationale

This is to make the code base more consistent, as using a common convention for imports makes the code more readable and idiomatic.

Ref - Ruff linter

Testing/Review Recommendations

Visual inspection

Future Work

Add Ruff linter into repo's CI (https://github.com/fprime-community/fprime-tools/pull/140).

LeStarch commented 1 year ago

@thomas-bc looks good to me. All yours to close-out.