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

Apply Flake8 type checking and Ruff-specific rules #4038

Merged
merged 11 commits into from
Aug 6, 2024

Conversation

deepyaman
Copy link
Member

@deepyaman deepyaman commented Jul 26, 2024

Description

Motivated by the fact that I saw extraneous imports (only necessary for type checking) at the top level, while I was trying to see what was getting imported by the CLI.

Development notes

When I went to apply TCH-003, I found other violations, so may as well fix them by enabling a few more rules.

Developer Certificate of Origin

We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a Signed-off-by line in the commit message. See our wiki for guidance.

If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.

Checklist

  • Read the contributing guidelines
  • Signed off each commit with a Developer Certificate of Origin (DCO)
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added a description of this change in the RELEASE.md file
  • Added tests to cover my changes
  • Checked if this change will affect Kedro-Viz, and if so, communicated that with the Viz team

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
@deepyaman deepyaman marked this pull request as ready for review July 26, 2024 17:23
@deepyaman deepyaman self-assigned this Jul 26, 2024
@deepyaman deepyaman enabled auto-merge (squash) July 26, 2024 17:31
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
@astrojuanlu

This comment was marked as resolved.

@deepyaman

This comment was marked as resolved.

Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

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

Thanks @deepyaman ⭐ LGTM!

Signed-off-by: Merel Theisen <49397448+merelcht@users.noreply.github.com>
@deepyaman deepyaman merged commit d47a8d2 into main Aug 6, 2024
41 checks passed
@deepyaman deepyaman deleted the feat/tch-and-ruf-rules branch August 6, 2024 14:26
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.

4 participants