nchammas commented on code in PR #56312:
URL: https://github.com/apache/spark/pull/56312#discussion_r3816530065


##########
dev/sparktestsupport/utils.py:
##########
@@ -33,30 +33,15 @@ def determine_modules_for_files(filenames):
     """
     Given a list of filenames, return the set of modules that contain those 
files.
     If a file is not associated with a more specific submodule, then this 
method will consider that
-    file to belong to the 'root' module. `.github` directory is counted only 
in GitHub Actions,
-    and `README.md`, `AGENTS.md`, `CONTRIBUTING.md` are always ignored.
+    file to belong to the 'root' module. `.github` directory is counted only 
in GitHub Actions.
 
     >>> sorted(x.name for x in 
determine_modules_for_files(["python/pyspark/a.py", "sql/core/foo"]))
     ['pyspark-core', 'pyspark-errors', 'sql']
     >>> [x.name for x in 
determine_modules_for_files(["file_not_matched_by_any_subproject"])]
     ['root']
-    >>> [x.name for x in determine_modules_for_files(["sql/README.md"])]
-    []
-    >>> [x.name for x in determine_modules_for_files(["AGENTS.md"])]
-    []
-    >>> [x.name for x in determine_modules_for_files(["CONTRIBUTING.md"])]
-    []
     """
     changed_modules = set()
     for filename in filenames:
-        if filename.endswith(("README.md", "AGENTS.md", "CONTRIBUTING.md")):
-            continue
-        if filename in (
-            "scalastyle-config.xml",
-            "dev/checkstyle.xml",
-            "dev/checkstyle-suppressions.xml",
-        ):
-            continue

Review Comment:
   Patch here: #58136



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to