Skip to content

Conversation

xchwan
Copy link
Contributor

@xchwan xchwan commented Oct 16, 2025


issue: Enable Even More PyDocStyle Checks #40567
@ferruzzi
This PR is for enable PT011 rule:
PT011: all instances of pytest.raises should include a match term to make sure they are catching the right error.
https://docs.astral.sh/ruff/rules/pytest-raises-too-broad/
There are 102 files changes is need.
So, I separate to many PR, which contains about 5 file changes for easy review.
^ 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 airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Oct 16, 2025
@potiuk potiuk merged commit b3f90be into apache:main Oct 16, 2025
82 checks passed
snreddygopu pushed a commit to Teradata/airflow that referenced this pull request Oct 16, 2025
* modify test_ecs

Signed-off-by: Xch1 <[email protected]>

* modify test_s3

Signed-off-by: Xch1 <[email protected]>

* modify test_redshift_data

Signed-off-by: Xch1 <[email protected]>

* modify test_eventbridge

Signed-off-by: Xch1 <[email protected]>

* modify test_batch_waiters

Signed-off-by: Xch1 <[email protected]>

---------

Signed-off-by: Xch1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants