JetBrains/requirements

editable mode flag stops plugin execution

Opened this issue · 0 comments

Describe the bug

In a requirements.txt file, using the valid -e specification on a requirement halts the plugin execution from proceeding any further in the file.

To Reproduce
Steps to reproduce the behavior:

  1. Create a requirements.txt file like this:
pdbpp==0.10.2
fancycompleter -e git+https://github.com/pdbpp/fancycompleter@master#egg=fancycompleter
wmctrl==0.2
  1. Let the plugin run and analyze the file
  2. See error:

<versionspec>, RequirementsTokenType.COMMENT, RequirementsTokenType.EOL, RequirementsTokenType.LONG_OPTION, RequirementsTokenType.LSBRACE, RequirementsTokenType.SEMICOLON or RequirementsTokenType.WHITE_SPACE expected, got '-'

Expected behavior

I'd expect to see an action to tell me up update wmctrl to 0.3 (latest)

IDE (please complete the following information. See Main Menu -> Help -> About):

  • OS: macOS 10.15.7
  • Product: PyCharm 2020.3.4 (Professional Edition)
  • Version 11.0.10+8-b1145.96 x86_64, Build #PY-203.7717.65, built on March 16, 2021
  • JRE Version: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • Project SDK: Python 3.6.2, Python 3.8.8

Plugin (please complete the following information. See Main Menu -> File -> Settings -> Plugins):

  • Version 2021.3-203

Additional context

Seems similar to #55 but not exactly.