Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Implement Async #81

Closed

Conversation

SelleslaghGianni
Copy link
Contributor

@SelleslaghGianni SelleslaghGianni commented Oct 14, 2021

I was looking for something to do when I came across this repo. I saw the stale PR and wanted to take a crack at it.

As for the formatting done in some files, I use black and at first I didn't pay attention until I noticed it here. I read in the contributing file that black is being used, so I'm hoping those changes are OK.

I tried to follow the comments given to the previous PR as closely as I could, but I may have done something completely wrong, so I am open for feedback.

I've rebased the commits made by @esciara and the other PR's I've made.

Edit: This is based on #84

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 14, 2021
Copy link
Contributor

@AndreasBackx AndreasBackx left a comment

Choose a reason for hiding this comment

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

Overall looks great. Some nitpicks here and there, but should be good to go after fixing that.

Though we need to do something about the formatting. @AhmedSoliman I'm not up-to-date with the status of the formatting. Can we format the repository with black (again?) to make sure our own contributing guidelines can be followed?

nubia/internal/cmdbase.py Show resolved Hide resolved
nubia/internal/nubia.py Outdated Show resolved Hide resolved
nubia/internal/commands/help.py Outdated Show resolved Hide resolved
nubia/internal/registry.py Outdated Show resolved Hide resolved
tests/typing_test.py Outdated Show resolved Hide resolved
@AndreasBackx
Copy link
Contributor

@AhmedSoliman hey can we drop Python 3.6 with this PR as well? This would make it so later's IsolatedAsyncioTestCase backport can be used. Python 3.6 is only getting security updates till December this year anyhow. Then we also don't need the check added in Nubia.run for >= 3.7. Otherwise the PR LGTM.

@AhmedSoliman
Copy link
Contributor

@AndreasBackx I don't mind dropping support for Python 3.6. Agreed. I'm not sure about the state of formatting but if this includes reformatting of existing code, that should be split into its own PR. Note that there is some black-specific configuration in https://github.com/facebookincubator/python-nubia/blob/main/pyproject.toml so there is a possibility that our internal "black" formatting isn't following those?

@facebook-github-bot
Copy link
Contributor

@AndreasBackx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@AndreasBackx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@SelleslaghGianni SelleslaghGianni changed the title Finalise async implementation Implement Async Oct 25, 2021
facebook-github-bot pushed a commit that referenced this pull request Nov 1, 2021
Summary:
Following the comments on #81 this formats all the code using isort and black according to contributing guidelines. This is based on #82

Pull Request resolved: #84

Reviewed By: AhmedSoliman

Differential Revision: D31893969

Pulled By: AndreasBackx

fbshipit-source-id: faf270c04df851097ead934f0d5f01c363bd7fa2
@AhmedSoliman
Copy link
Contributor

This needs to be rebased after your formatting changes.

@SelleslaghGianni
Copy link
Contributor Author

Done. Thank you for the opportunity to contribute! @AhmedSoliman

@esciara
Copy link

esciara commented Nov 2, 2021

@SelleslaghGianni glad you could pick it up !

@facebook-github-bot
Copy link
Contributor

@AndreasBackx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

vinspam added a commit to vinspam/python-nubia that referenced this pull request Oct 30, 2024
Summary:
I was looking for something to do when I came across this repo. I saw the stale PR and wanted to take a crack at it.

As for the formatting done in some files, I use black and at first I didn't pay attention until I noticed it here. I read in the contributing file that black is being used, so I'm hoping those changes are OK.

I tried to follow the comments given to the previous PR as closely as I could, but I may have done something completely wrong, so I am open for feedback.

I've rebased the commits made by esciara and the other PR's I've made.

Edit: This is based on facebookarchive/python-nubia#84

Pull Request resolved: facebookarchive/python-nubia#81

Reviewed By: AhmedSoliman

Differential Revision: D31782837

Pulled By: AndreasBackx

fbshipit-source-id: 0d64722f78b30712859bb8bdf1f4c6d5efb1f266
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants