We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d144d55 commit 5a65961Copy full SHA for 5a65961
dist/index.js
@@ -81434,6 +81434,12 @@ function findPythonVersionMatches(filePath, content) {
81434
}
81435
const relativeIndex = match[0].indexOf(version);
81436
const versionIndex = match.index + (relativeIndex >= 0 ? relativeIndex : 0);
81437
+ const patchContinuationIndex = versionIndex + version.length;
81438
+ const nextChar = content[patchContinuationIndex];
81439
+ const nextNextChar = content[patchContinuationIndex + 1];
81440
+ if (nextChar === '.' && nextNextChar && /\d/.test(nextNextChar)) {
81441
+ continue;
81442
+ }
81443
const position = indexToPosition(content, versionIndex);
81444
results.push({
81445
file: filePath,
0 commit comments