amoghrajesh commented on code in PR #48081:
URL: https://github.com/apache/airflow/pull/48081#discussion_r2008261901


##########
scripts/ci/pre_commit/update_installers_and_pre_commit.py:
##########
@@ -50,7 +50,7 @@
     (AIRFLOW_ROOT_PATH / ".github" / "actions" / "install-pre-commit" / 
"action.yml", False),
     (AIRFLOW_ROOT_PATH / "dev/" / "breeze" / "doc" / "ci" / "02_images.md", 
True),
     (AIRFLOW_ROOT_PATH / ".pre-commit-config.yaml", False),
-    (AIRFLOW_CORE_SOURCES_PATH / "pyproject.toml", False),
+    (AIRFLOW_CORE_ROOT_PATH / "pyproject.toml", False),

Review Comment:
   Error without this: 
   ```
   Traceback (most recent call last):
     File 
"/Users/amoghdesai/Documents/OSS/airflow/./scripts/ci/pre_commit/update_installers_and_pre_commit.py",
 line 203, in <module>
       file_content = file.read_text()
     File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py",
 line 1256, in read_text
       with self.open(mode='r', encoding=encoding, errors=errors) as f:
     File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py",
 line 1242, in open
       return io.open(self, mode, buffering, encoding, errors, newline,
     File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/pathlib.py",
 line 1110, in _opener
       return self._accessor.open(self, flags, mode)
   FileNotFoundError: [Errno 2] No such file or directory: 
'/Users/amoghdesai/Documents/OSS/airflow/airflow-core/src/pyproject.toml'
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to