Skip to content
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

chore: cleanup codebase and fix flake errors #188

Merged
merged 16 commits into from
Aug 14, 2022
Merged

Conversation

xSAVIKx
Copy link
Member

@xSAVIKx xSAVIKx commented Aug 14, 2022

In this PR I have cleaned up:

  • License duplicates.
  • Ensured __init__.py files export only API from the same or child modules (related to the recent feat: pydantic #182 PR).
  • Fixed multiple # noqa flake8 warnings.
  • Removed outdated flake8 plugins (they are effectively superseded by Black and pre-commit checks).

…th Black and modern Python anymore

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
@xSAVIKx xSAVIKx self-assigned this Aug 14, 2022
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
pre-commit-ci bot and others added 4 commits August 14, 2022 19:02
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
@xSAVIKx xSAVIKx requested a review from a team August 14, 2022 19:19
@xSAVIKx
Copy link
Member Author

xSAVIKx commented Aug 14, 2022

@sasha-tkachev FYI. It's a bad practice to "export" APIs of the other modules from the current module (e.g. you were exporting convertion APIs from the http module and from the pydantic module). and I have missed this in the review.

@xSAVIKx
Copy link
Member Author

xSAVIKx commented Aug 14, 2022

@Klaudioz PTAL.

Copy link

@Klaudioz Klaudioz left a comment

Choose a reason for hiding this comment

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

Everything LGTM.

@Klaudioz Klaudioz merged commit 8a88ffe into main Aug 14, 2022
@Klaudioz Klaudioz deleted the feat/cleanup-toolings branch August 14, 2022 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants