-
Notifications
You must be signed in to change notification settings - Fork 133
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 test coverage #5642
Conversation
Changes include: - using pathlib instead of os; - avoid assert on non test method; - log instead of pass in try: except:; - general code refactoring.
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
Additional details and impacted files@@ Coverage Diff @@
## main #5642 +/- ##
==========================================
+ Coverage 84.00% 85.25% +1.25%
==========================================
Files 152 152
Lines 61008 61012 +4
==========================================
+ Hits 51247 52015 +768
+ Misses 9761 8997 -764 |
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
Changes to improve the code base:
- using
pathlib
instead ofos
(we need to start somewhere);- avoid assert on core methods and only use it for test methods;
- log instead of pass in try: except:;
- general code refactoring.
Issue linked
Associated to #5504
Checklist