-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixed namespace and type errors, changed null to undefined where applicable #18345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nd fetches the path of the interpreter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Please add a news entry thanking yourself (See news/README.md
for instructions)
news/3 Code Health/18345.md
Outdated
@@ -0,0 +1 @@ | |||
Fixed typescript and namespace errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed typescript and namespace errors. | |
Fixed typescript and namespace errors. (thanks [Harry-Hopkinson](https://github.com/Harry-Hopkinson)) |
Please see the build run https://github.com/microsoft/vscode-python/runs/4947683364?check_suite_focus=true. It seems lint is failing, see the coding guidelines for contributing: https://github.com/microsoft/vscode-python/wiki/Coding#typescript where we ask to install prettier extension for typescript. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You do not need to run prettier on every file, just the files that you changed. Please undo the last commit.
Okay I am trying to redo the last commit |
What command shall I run |
Thanks |
It works - thank you very much |
Eslint still needs to be run on other files though, I can do that on another commit. |
Alright. Just leaving a comment tagging me (@karrtikr) when you're done. |
@karrtikr the errors for linting are happening on files that I have not worked on. Shall I format them? |
It seems you have modified https://github.com/microsoft/vscode-python/pull/18345/files#diff-4af161d784faa3a10fc0a2cc01cb14ab2dca2a161eea6e8e9944c2ee602af762 for which the error is happening. |
Ah yes - I have ran prettier on the file |
Thanks! |
Some of the checks failed after the pull request. How come? |
That does not seem to be related to your PR. It seems it originated from https://github.com/microsoft/vscode-python/actions/runs/1748411413. |
Okay - so my PR pushed fine? |
Yes... |
Thanks - how do we stop these checks from failing? |
…icable (microsoft/vscode-python#18345) * Fixed namespace and type errors * Fetch Jupyter Notebook Interpreters if there are multiple available and fetches the path of the interpreter. * Complying types to reduce errors * Ran prettier * News * Used prettier on service.ts
No description provided.