Skip to content

Conversation

@enryH
Copy link
Collaborator

@enryH enryH commented Mar 17, 2025

I needed for itables to work on one machine to add a setup statement at the beginning of the qmd notebook.

I was wondering before why the import statements were random order. It was due to a set operation, which I now parse into a sorted list of imports and setup statements (which I added now for the first time for itables)

enryH added 2 commits March 17, 2025 07:46
- in some cases the exported html wasn't working without initializing itables
@enryH enryH requested a review from sayalaruano March 17, 2025 07:07
Copy link
Collaborator Author

@enryH enryH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sayalaruano
Copy link
Collaborator

Isort seems a good option, maybe better for handling unexpected errors than the sort_imports function in utils?

@sayalaruano sayalaruano merged commit 82fc94e into main Mar 17, 2025
13 checks passed
@sayalaruano sayalaruano deleted the non_random_imports branch March 17, 2025 11:23
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.

3 participants