Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion requirements/requirements_build.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
black==25.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @jorgepiloto, again, this is used in the ci/code_generation.py script. We cannot remove it here or we need to also modify the file mentioned.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @PProfizi, I do not see the tool being used in the script you refer to https://github.com/ansys/pydpf-core/blob/master/.ci/code_generation.py

Copy link
Contributor

Choose a reason for hiding this comment

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

@jorgepiloto sorry I meant here, which is what runs when we call code_generation.py. @moe-ad FYI

Copy link
Contributor

Choose a reason for hiding this comment

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

We basically use it to reformat some code we autogenerate based on a template.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for explanation, @PProfizi. @moe-ad, what do you think it is possible to explore Ruff's API for this? I am not sure if this tool has an API for Python. If it had, we could completely drop black.

build==1.2.2.post1
chevron==0.14.0
wheel==0.45.1
Empty file removed requirements/requirements_dev.txt
Empty file.
Loading