Skip to content

Conversation

@romsharon98
Copy link
Contributor

Related: #36484

Add assignment in constructor.
Split one line if else statement.

cc: @shahar1


^ 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.

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Jan 4, 2024
Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

Could you check the static checks?

Copy link
Contributor

@dirrao dirrao left a comment

Choose a reason for hiding this comment

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

I would suggest you to configure pre-commit hook or run static checks.
https://github.com/apache/airflow/blob/main/STATIC_CODE_CHECKS.rst

@romsharon98 romsharon98 force-pushed the fix/aws-to-aws-baseoperator branch from 5a13210 to 52773c7 Compare January 5, 2024 12:32
@romsharon98
Copy link
Contributor Author

I would suggest you to configure pre-commit hook or run static checks. https://github.com/apache/airflow/blob/main/STATIC_CODE_CHECKS.rst

Thanks @dirrao !
I already have pre-commit but when I commit this it run only on the file that changed (I think).
Therefore when I committed it I didn't get an error.

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.

5 participants