#๐Ÿ”’ Squiggly error underlines appearing

30 messages ยท Page 1 of 1 (latest)

void yachtBOT
#

@vestal salmon

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

grim kelp
#

Hover over them and see what it says

#

import flask first

hallow perch
#

Those are warnings in your ide, they arent errors

grim kelp
#

yeah, tbh it doesnt matter

hallow perch
#

If the code runs fine, you can safely ignore them

#

Pylance can't detect them for whatever reason

spring venture
#

try restarting the editor

#

or selecting a different version of python

#

I guess the solution will be a little different from a "normal" environment, which is what I'm used to

#

sorry if I don't give relevant suggestions because of that

hallow perch
#

So you're editing the code on a remote server?

#

Different subject but I'd personally develop it locally on a dev environment, then push with git

spring venture
#

greyed out means unused

#

show

#

er... they don't look grey to me

hallow perch
#

Less strain on the production server, when your server is also your dev environment it needs to run extra processes. Plus if you make a mistake, it can cause service disruption

spring venture
#

I don't see anything greyed out

hallow perch
#

Yes, a typical workflow is devs clone a repo -> make changes locally and commit -> push to repo -> automated checks -> server pulls changes

#

Then you need to merge them

spring venture
#

๐Ÿคทโ€โ™‚๏ธ

#

probably a setting issue

hallow perch
#

Git's a very powerful and valuable tool, you should check it out when you have time

#

Can't you do live share on your local machine?

#

Yeah, you develop the code/live share from local machines then push to the remote

#

Git commit to add the changes to git locally, then git push to upload changes to the repository

#

Well also git add to select the files to commit ig

void yachtBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

๐Ÿ”’ Squiggly error underlines appearing