Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Unnecessary Semicolon warning (no semicolon in file) #2144

@phedlund113

Description

@phedlund113

Environment data

  • VS Code version: 1.53.2
  • Python extension for Visual Studio Code
  • Extension version (available under the Extensions sidebar): v2021.2.582707922
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.73
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
  • Relevant/affected Python packages and their versions: XXX
  • Relevant/affected Python-related VS Code extensions and their versions: XXX
  • Value of the python.languageServer setting: XXX

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

albet_lc = 'abcdefghijklmnopqrstuvwxyz'
#  albet_uc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

Actual behaviour

albet_lc = 'abcdefghijklmnopqrstuvwxyz'
#  albet_uc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

^ Squiggly under # hover mouse and get Unnecessary Semicolon

Logs

Upon searching the entire file there were NO semicolons found in the file.

Peter Hedlund

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions