Skip to content

Conversation

Harry-Hopkinson
Copy link

No description provided.

Copy link

@karrtikr karrtikr left a 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)

@@ -0,0 +1 @@
Fixed typescript and namespace errors.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Fixed typescript and namespace errors.
Fixed typescript and namespace errors. (thanks [Harry-Hopkinson](https://github.com/Harry-Hopkinson))

@karrtikr karrtikr added the skip tests Updates to tests unnecessary label Jan 26, 2022
@karrtikr
Copy link

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.

@Harry-Hopkinson Harry-Hopkinson changed the title Fixed namespace and type errors Fixed namespace and type errors, changed null to undefined where applicable - ran prettier globally to stop linting errors. Jan 26, 2022
Copy link

@karrtikr karrtikr left a 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.

@karrtikr karrtikr self-requested a review January 26, 2022 11:13
@Harry-Hopkinson
Copy link
Author

Okay I am trying to redo the last commit

@Harry-Hopkinson
Copy link
Author

What command shall I run

@karrtikr
Copy link

Install the Prettier extension, we already have it selected and format on save turned on:
image

So just modifying and saving files should format them.

@Harry-Hopkinson
Copy link
Author

Thanks

@Harry-Hopkinson
Copy link
Author

It works - thank you very much

@Harry-Hopkinson
Copy link
Author

Eslint still needs to be run on other files though, I can do that on another commit.

@karrtikr
Copy link

Alright. Just leaving a comment tagging me (@karrtikr) when you're done.

@Harry-Hopkinson
Copy link
Author

@karrtikr the errors for linting are happening on files that I have not worked on. Shall I format them?

@karrtikr
Copy link

@Harry-Hopkinson
Copy link
Author

Ah yes - I have ran prettier on the file

@karrtikr karrtikr changed the title Fixed namespace and type errors, changed null to undefined where applicable - ran prettier globally to stop linting errors. Fixed namespace and type errors, changed null to undefined where applicable Jan 26, 2022
@karrtikr karrtikr merged commit 8e5f7dc into microsoft:main Jan 26, 2022
@karrtikr
Copy link

Thanks!

@Harry-Hopkinson
Copy link
Author

Some of the checks failed after the pull request. How come?

@karrtikr
Copy link

That does not seem to be related to your PR. It seems it originated from https://github.com/microsoft/vscode-python/actions/runs/1748411413.

@Harry-Hopkinson
Copy link
Author

Okay - so my PR pushed fine?

@karrtikr
Copy link

Yes...

@Harry-Hopkinson
Copy link
Author

Thanks - how do we stop these checks from failing?

wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants