[pycharm] PY-79448 Add a feature flag to prevent poetry lock from being run

GitOrigin-RevId: 94977a3fb4390c683211fe253885bb2cc8c1eb35
This commit is contained in:
David Lysenko
2025-04-07 14:57:15 +00:00
committed by intellij-monorepo-bot
parent 16ffafecb0
commit a1b07bb061
2 changed files with 25 additions and 11 deletions
@@ -60,8 +60,13 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
<resource-bundle>messages.PyBundle</resource-bundle>
<extensions defaultExtensionNs="com.intellij">
<localInspection language="TOML" enabledByDefault="true" implementationClass="com.jetbrains.python.sdk.poetry.PoetryPackageVersionsInspection" key="INSP.poetry.package.versions.display.name" bundle="messages.PyBundle" groupKey="INSP.GROUP.python" suppressId="PoetryPackageVersions" shortName="PoetryPackageVersionsInspection"/>
<localInspection language="TOML" enabledByDefault="true" implementationClass="com.jetbrains.python.sdk.uv.UvPackageVersionsInspection" key="INSP.poetry.package.versions.display.name" bundle="messages.PyBundle" groupKey="INSP.GROUP.python" suppressId="UvPackageVersions" shortName="UvPackageVersionsInspection"/>
<localInspection language="TOML" enabledByDefault="true"
implementationClass="com.jetbrains.python.sdk.poetry.PoetryPackageVersionsInspection"
key="INSP.poetry.package.versions.display.name" bundle="messages.PyBundle" groupKey="INSP.GROUP.python"
suppressId="PoetryPackageVersions" shortName="PoetryPackageVersionsInspection"/>
<localInspection language="TOML" enabledByDefault="true" implementationClass="com.jetbrains.python.sdk.uv.UvPackageVersionsInspection"
key="INSP.poetry.package.versions.display.name" bundle="messages.PyBundle" groupKey="INSP.GROUP.python"
suppressId="UvPackageVersions" shortName="UvPackageVersionsInspection"/>
<registryKey defaultValue="10" description="How ofter system pythons must be refreshed (minutes)" key="python.system.refresh.minutes"/>
<postStartupActivity implementation="com.intellij.python.community.services.systemPython.impl.SystemPythonInitialLoader"/>
<fileType name="Requirements.txt"
@@ -87,7 +92,8 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
implementationClass="com.jetbrains.python.poetry.PoetryDependencyPackageNameCompletionContributor"/>
<completion.contributor language="TOML"
implementationClass="com.jetbrains.python.poetry.PoetryDependencyVersionCompletionContributor"/>
<localInspection language="Requirements" shortName="UnsatisfiedRequirementInspection" suppressId="UnsatisfiedRequirement" bundle="messages.PyBundle"
<localInspection language="Requirements" shortName="UnsatisfiedRequirementInspection" suppressId="UnsatisfiedRequirement"
bundle="messages.PyBundle"
key="INSP.requirement.uninstalled.name" groupKey="INSP.GROUP.requirements" enabledByDefault="true" level="WARNING"
implementationClass="com.jetbrains.python.requirements.UnsatisfiedRequirementInspection"/>
@@ -419,7 +425,7 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
serviceImplementation="com.jetbrains.python.codeInsight.PyCustomMemberProviderImpl"/>
<projectService serviceInterface="com.jetbrains.python.packaging.management.PythonPackageManagerService"
serviceImplementation="com.jetbrains.python.packaging.management.PythonPackageManagerServiceImpl"/>
serviceImplementation="com.jetbrains.python.packaging.management.PythonPackageManagerServiceImpl"/>
<qualifiedNameProvider implementation="com.jetbrains.python.actions.PyQualifiedNameProvider"/>
@@ -480,12 +486,16 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
<registryKey defaultValue="30" description="Max attempts to connect to remote debugger server"
restartRequired="false" key="python.debugger.remote.connect.max.attempts"/>
<registryKey defaultValue="false" description="Don't run `lock` before listing dependencies when using Poetry"
restartRequired="false" key="python.poetry.list.packages.without.lock"/>
<!-- typing -->
<multiHostInjector implementation="com.jetbrains.python.codeInsight.typing.PyTypingAnnotationInjector"/>
<codeInsight.lineMarkerProvider language="Python" implementationClass="com.jetbrains.python.pyi.PyiRelatedItemLineMarkerProvider"/>
<refactoring.invertBoolean language="Python" implementationClass="com.jetbrains.python.refactoring.invertBoolean.PyInvertBooleanDelegate"/>
<refactoring.invertBoolean language="Python"
implementationClass="com.jetbrains.python.refactoring.invertBoolean.PyInvertBooleanDelegate"/>
<!--folding-->
<codeFoldingOptionsProvider instance="com.jetbrains.python.PythonFoldingOptionsProvider"/>
@@ -524,8 +534,10 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
<statistics.projectUsagesCollector implementation="com.jetbrains.python.statistics.PyCompatibilityInspectionCollector"/>
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.namespacePackages.PyNamespacePackagesStatisticsCollector"/>
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.codeInsight.codeVision.PyCodeVisionUsageCollector"/>
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.newProjectWizard.collector.PythonNewProjectWizardCollector"/>
<statistics.validation.customValidationRule implementation="com.jetbrains.python.newProjectWizard.collector.PyProjectTypeValidationRule"/>
<statistics.counterUsagesCollector
implementationClass="com.jetbrains.python.newProjectWizard.collector.PythonNewProjectWizardCollector"/>
<statistics.validation.customValidationRule
implementation="com.jetbrains.python.newProjectWizard.collector.PyProjectTypeValidationRule"/>
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.sdk.add.collector.PythonNewInterpreterAddedCollector"/>
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.run.runAnything.PyRunAnythingCollector"/>
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.debugger.statistics.PyDataViewerCollector"/>