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

REFACTOR: Generic modules to avoid bad practices #4630

Merged
merged 3 commits into from
May 6, 2024

Conversation

SMoraisAnsys
Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys commented May 5, 2024

As title says.

Changes:

  • use 'secrets' module instead of random values created through 'random' module
  • remove unused code, e.g. xml.etree.cElementTree

Note: use 'secrets' module instead of random values
created through 'random' module.
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@codecov-commenter
Copy link

codecov-commenter commented May 6, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 80.80%. Comparing base (9936f70) to head (e2cb727).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4630      +/-   ##
==========================================
- Coverage   80.80%   80.80%   -0.01%     
==========================================
  Files         119      119              
  Lines       54538    54538              
==========================================
- Hits        44070    44068       -2     
- Misses      10468    10470       +2     

Note: package secrets is not available with IronPython
Copy link
Member

@Samuelopez-ansys Samuelopez-ansys left a comment

Choose a reason for hiding this comment

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

Great

@SMoraisAnsys SMoraisAnsys merged commit ebe41b4 into main May 6, 2024
33 checks passed
@SMoraisAnsys SMoraisAnsys deleted the refactor/generic-modules branch May 6, 2024 10:10
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