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

upgrade ruff and other dev packages #4794

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

chassing
Copy link
Member

This PR updates the dev dependencies. Additionally, it enables 3 more ruff checks:

  • 🚨 enable flake8-type-checking
  • 🚨 enable Perflint
  • 🚨 enable refurb checks

Ticket: APPSRE-11307

@chassing chassing self-assigned this Dec 10, 2024
Copy link
Contributor

@rporres rporres left a comment

Choose a reason for hiding this comment

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

A few questions here and there...

@hemslo is going to love this, he's the comprehension king 😂

Comment on lines +211 to +214
"TC001", # Type-checking block
"TC002", # Type-checking block
"TC003", # Type-checking block
"TC004", # Type-checking block
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we plan to enable these in the future? I thought it was the main benefit of flake8-type-checking?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes and no. We should discuss this before enabling it because I wouldn't say I like the actual implications and syntax.

reconcile/external_resources/secrets_sync.py Show resolved Hide resolved
reconcile/acs_policies.py Show resolved Hide resolved
@chassing chassing requested a review from rporres December 16, 2024 06:51
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