-
Notifications
You must be signed in to change notification settings - Fork 161
REFACTOR: Improve code quality and handling of subprocess calls #5995
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
REFACTOR: Improve code quality and handling of subprocess calls #5995
Conversation
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (25.00%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #5995 +/- ##
==========================================
+ Coverage 85.07% 85.09% +0.02%
==========================================
Files 165 165
Lines 62892 62886 -6
==========================================
+ Hits 53505 53514 +9
+ Misses 9387 9372 -15 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Description
Improve code quality, avoid bad practices and improve vulnerability risks associated to the use of
subprocess
.Note that an static internal method has been removed as I though it was not used/leveraged.
@ansAFinney Part of the changes remove what you did in #4294. Indeed, launching the server and exposing it to all network interfaces is a security risk so it shouldn't be the default behavior. If you want to keep the previous behavior, this is possible using
the
AEDT_HOST
environment variable.Associated to #5504
Checklist