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

Single marker union simplifications #299

Conversation

radoering
Copy link
Member

Relates-to: python-poetry/poetry#5192

Allows the following new simplifications:
sys_platform == "linux" or sys_platform != "win32" -> sys_platform != "win32"
python_version == "3.6" or python_version > "3.6" -> python_version >= "3.6"
python_version == "3.6" or python_version < "3.6" -> python_version <= "3.6"
python_version < "3.6" or python_version > "3.6" -> python_version != "3.6"

@radoering radoering force-pushed the single-marker-union-simplifications branch 2 times, most recently from b8cf6ec to 6c509e4 Compare March 5, 2022 20:47
@radoering radoering force-pushed the single-marker-union-simplifications branch from 6c509e4 to aff8819 Compare March 9, 2022 18:55
@radoering radoering force-pushed the single-marker-union-simplifications branch from aff8819 to a8a6197 Compare March 10, 2022 05:37
@sonarcloud
Copy link

sonarcloud bot commented Mar 10, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.8% 1.8% Duplication

@neersighted neersighted merged commit 3ba4cbc into python-poetry:master Mar 12, 2022
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