Skip to content

improve detection of Any marker union#293

Merged
finswimmer merged 1 commit into
python-poetry:masterfrom
dimbleby:another-marker-simplification
Feb 26, 2022
Merged

improve detection of Any marker union#293
finswimmer merged 1 commit into
python-poetry:masterfrom
dimbleby:another-marker-simplification

Conversation

@dimbleby
Copy link
Copy Markdown
Contributor

Resolves: python-poetry#

  • Added tests for changed code.
  • Updated documentation for changed code.

Another trivial simplification of markers

@dimbleby dimbleby force-pushed the another-marker-simplification branch from 5db98f3 to 9cd9861 Compare February 12, 2022 15:34
@radoering
Copy link
Copy Markdown
Member

Nice. I'm just wondering if "overlapped" is the correct word. That sounds like "the intersection is not empty". However, the variable only becomes True if one marker is a subset of the other, doesn't it? After reading the introduction about subsets at Wikipedia, I think "contained" or "included" may be better suited than "overlapped".

@dimbleby
Copy link
Copy Markdown
Contributor Author

Well it's an improvement on "intersected"! But I agree that "included" is better, will change.

@dimbleby dimbleby force-pushed the another-marker-simplification branch from 9cd9861 to 31e056f Compare February 12, 2022 19:18
@sonarqubecloud
Copy link
Copy Markdown

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 1 Code Smell

No Coverage information No Coverage information
0.5% 0.5% Duplication

@finswimmer finswimmer merged commit 7b8f8b0 into python-poetry:master Feb 26, 2022
@dimbleby dimbleby deleted the another-marker-simplification branch February 26, 2022 12:10
@finswimmer finswimmer mentioned this pull request Feb 28, 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.

3 participants