You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/20 07:18:08 UTC

[GitHub] [airflow] eladkal commented on a diff in pull request #23090: Use inclusive words in apache airflow project

eladkal commented on code in PR #23090:
URL: https://github.com/apache/airflow/pull/23090#discussion_r853804534


##########
.pre-commit-config.yaml:
##########
@@ -408,13 +408,25 @@ repos:
         language: pygrep
         name: Check for language that we do not accept as community
         description: Please use "deny_list" or "allow_list"  instead.
-        entry: "(?i)(black|white)[_-]?list"
+        entry: >
+          (?ix)
+          \bmaster\b|
+          \bhe\b|
+          \bshe\b|
+          \bhis\b|
+          \bher\b|
+          \bslave\b|
+          \bsanity\b|
+          \bdummy\b|
+          \bwhite\b|
+          \bblack\b

Review Comment:
   maybe we should stay with looking for black/white list.
   It will be very difficult to handle colours names without excluding many files



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org