kaxil commented on a change in pull request #14588: URL: https://github.com/apache/airflow/pull/14588#discussion_r587755783
########## File path: airflow/upgrade/rules/no_additional_args_in_operators.py ########## @@ -43,7 +42,11 @@ def check(self, dags_folder=None): old_level = logger.level try: logger.setLevel(logging.ERROR) - dagbag = DagBag(dag_folder=os.devnull, include_examples=False, store_serialized_dags=False) + dagbag = DagBag( + dag_folder=conf.get("core", "dags_folder"), Review comment: ```suggestion dag_folder=dags_folder, ``` Since we already get the config on L39 ---------------------------------------------------------------- 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: us...@infra.apache.org