Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robustify isort linter #122

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Robustify isort linter #122

merged 1 commit into from
Jan 8, 2024

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Dec 14, 2023

Sometimes isort can set 3rd-party libaries as 1st-party ones if a random directory with the library name in the project arborescence (on the repository or even locally). And thus make pre-commit change wrongly a file.

To avoid this we specify to isort where the source directory for our library is.

Sometimes isort can set 3rd-party libaries as 1st-party ones if a random
directory with the library name in the project arborescence
(on the repository or even locally). And thus make `pre-commit`
change wrongly a file.

To avoid this we specify to isort where the source directory for our
library is.
@ducoffeM ducoffeM merged commit 7fb3f19 into airbus:keras3 Jan 8, 2024
10 checks passed
@nhuet nhuet deleted the robustify-isort branch January 11, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants