MaxTaggart commented on issue #13805:
URL: https://github.com/apache/airflow/issues/13805#issuecomment-777608085


   @dimberman It looks like PR #14160  is getting hung up on a language check 
that doesn't like "WhiteListRoundRobin" from the cassandra hook in 
`airflow/providers/apache/cassandra/hooks/cassandra.py`. What's weird is that 
the file should be excluded from that check since it is in the exclude list in 
`.pre-commit-config.yaml:317`:
   
   ``` yaml
    - id: language-matters
           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"
           pass_filenames: true
           exclude: >
             (?x)
             ^airflow/providers/apache/cassandra/hooks/cassandra.py$|
             ^airflow/providers/apache/hive/operators/hive_stats.py$|
             ^airflow/providers/apache/hive/.*PROVIDER_CHANGES_*|
             ^airflow/providers/apache/hive/.*README.md$|
             ^tests/providers/apache/cassandra/hooks/test_cassandra.py$|
             
^docs/apache-airflow-providers-apache-cassandra/connections/cassandra.rst$|
             ^docs/apache-airflow-providers-apache-hive/commits.rst$|git|
             ^CHANGELOG.txt$
   ```
   
   Any ideas?


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


Reply via email to