Skip to content

feat(python): python code intelligence via Pyrefly with Ruff formatting#3016

Open
abose wants to merge 2 commits into
mainfrom
ai
Open

feat(python): python code intelligence via Pyrefly with Ruff formatting#3016
abose wants to merge 2 commits into
mainfrom
ai

fix(lsp): consume text after cursor when completion textEdit range co…

75da97d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 21, 2026 in 1m 9s

Quality Gate failed

Annotations

Check warning on line 183 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxr&open=AZ8-VH4_NMmptJydKTxr&pullRequest=3016

Check warning on line 205 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move async function '_resolveWheel' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxZ&open=AZ8-VH43NMmptJydKTxZ&pullRequest=3016

Check warning on line 152 in src/utils/NodeUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VHzsNMmptJydKTxQ&open=AZ8-VHzsNMmptJydKTxQ&pullRequest=3016

Check warning on line 285 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxd&open=AZ8-VH43NMmptJydKTxd&pullRequest=3016

Check warning on line 478 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'hidePanelRow' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxg&open=AZ8-VH43NMmptJydKTxg&pullRequest=3016

Check warning on line 117 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxj&open=AZ8-VH4_NMmptJydKTxj&pullRequest=3016

Check warning on line 132 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxm&open=AZ8-VH4_NMmptJydKTxm&pullRequest=3016

Check warning on line 131 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxl&open=AZ8-VH4_NMmptJydKTxl&pullRequest=3016

Check warning on line 218 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxc&open=AZ8-VH43NMmptJydKTxc&pullRequest=3016

Check warning on line 410 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxe&open=AZ8-VH43NMmptJydKTxe&pullRequest=3016

Check warning on line 151 in src/extensions/default/PythonSupport/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH5INMmptJydKTxu&open=AZ8-VH5INMmptJydKTxu&pullRequest=3016

Check warning on line 229 in src/utils/NodeUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VHzsNMmptJydKTxT&open=AZ8-VHzsNMmptJydKTxT&pullRequest=3016

Check warning on line 144 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxn&open=AZ8-VH4_NMmptJydKTxn&pullRequest=3016

Check failure on line 67 in src/extensions/default/PythonSupport/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH5INMmptJydKTxt&open=AZ8-VH5INMmptJydKTxt&pullRequest=3016

Check warning on line 185 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxs&open=AZ8-VH4_NMmptJydKTxs&pullRequest=3016

Check warning on line 437 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxf&open=AZ8-VH43NMmptJydKTxf&pullRequest=3016

Check warning on line 230 in src/utils/NodeUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VHzsNMmptJydKTxU&open=AZ8-VHzsNMmptJydKTxU&pullRequest=3016

Check warning on line 164 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxp&open=AZ8-VH4_NMmptJydKTxp&pullRequest=3016

Check warning on line 173 in src/extensions/default/PythonSupport/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH5INMmptJydKTxv&open=AZ8-VH5INMmptJydKTxv&pullRequest=3016

Check warning on line 111 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxi&open=AZ8-VH4_NMmptJydKTxi&pullRequest=3016

Check warning on line 201 in src/extensions/default/PythonSupport/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH5INMmptJydKTxw&open=AZ8-VH5INMmptJydKTxw&pullRequest=3016

Check warning on line 213 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxa&open=AZ8-VH43NMmptJydKTxa&pullRequest=3016

Check warning on line 140 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxY&open=AZ8-VH43NMmptJydKTxY&pullRequest=3016

Check warning on line 213 in src/extensions/default/PythonSupport/ServerInstaller.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH43NMmptJydKTxb&open=AZ8-VH43NMmptJydKTxb&pullRequest=3016

Check warning on line 181 in src/extensions/default/PythonSupport/unittests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ8-VH4_NMmptJydKTxq&open=AZ8-VH4_NMmptJydKTxq&pullRequest=3016