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

Replace all remaining os.name checks with is_windows, is_linux booleans Ref: #2689 #2690

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

kbhagat-ansys
Copy link
Contributor

@kbhagat-ansys kbhagat-ansys commented Mar 22, 2023

Replace all remaining os.name checks with is_windows, is_linux booleans Ref: #2689

Request #2688

The PR #2670 introduced is_windows and is_linux booleans.
We can replace all os.name == "posix", os.name != "posix", os.name == "nt", os.name != "nt" with the booleans

@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #2690 (361d290) into main (3f96d6b) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2690      +/-   ##
==========================================
- Coverage   80.63%   80.63%   -0.01%     
==========================================
  Files         163      163              
  Lines       54020    54020              
==========================================
- Hits        43561    43557       -4     
- Misses      10459    10463       +4     

@kbhagat-ansys kbhagat-ansys merged commit 9e2d9a2 into main Mar 22, 2023
@kbhagat-ansys kbhagat-ansys deleted the replace_os_name_checks branch March 22, 2023 19:00
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.

2 participants