kaxil commented on a change in pull request #6601: [AIRFLOW-6010] Remove cyclic
imports and pylint disables
URL: https://github.com/apache/airflow/pull/6601#discussion_r348488803
##########
File path: .pre-commit-config.yaml
##########
@@ -190,6 +190,33 @@ repos:
files: ^BREEZE.rst$|^breeze$|^breeze-complete$
pass_filenames: false
require_serial: true
+ - id: base-operator
+ language: pygrep
+ name: Make sure BaseOperator is imported from
airflow.models.baseoperator in core
Review comment:
I haven't read the mailing list chats yet but why do we have different
imports for core vs non-core ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services