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 os.name checks with is_windows, is_linux booleans #2688

Closed
kbhagat-ansys opened this issue Mar 22, 2023 · 0 comments · Fixed by #3956
Closed

Replace all os.name checks with is_windows, is_linux booleans #2688

kbhagat-ansys opened this issue Mar 22, 2023 · 0 comments · Fixed by #3956
Assignees
Labels
enhancement New features or code improvements

Comments

@kbhagat-ansys
Copy link
Collaborator

kbhagat-ansys commented Mar 22, 2023

Description of the current limitations

This 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

Code sample expected

No response

Useful links and references

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant