Skip to content

Partially enable TRY002 rule#38756

Merged
ferruzzi merged 2 commits into
apache:mainfrom
Taragolis:enable-try002
Apr 4, 2024
Merged

Partially enable TRY002 rule#38756
ferruzzi merged 2 commits into
apache:mainfrom
Taragolis:enable-try002

Conversation

@Taragolis

Copy link
Copy Markdown
Contributor

The final step after the similar PR

Enable TRY002 into the entire repo (except tests).
This will forced to use Airflow specific exceptions or more suitable builtins instead of just to broad Exception

There is 60 usage of Exception into the providers, so follow up task will be created after.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@ferruzzi ferruzzi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left a grammar/phrasing suggestion and one non-blocking question.

Comment thread pyproject.toml Outdated
Comment thread pyproject.toml
Comment thread pyproject.toml
Co-authored-by: D. Ferruzzi <ferruzzi@amazon.com>
@ferruzzi ferruzzi merged commit e4e73ba into apache:main Apr 4, 2024
@Taragolis Taragolis deleted the enable-try002 branch April 4, 2024 22:20
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants