kaxil commented on a change in pull request #9550:
URL: https://github.com/apache/airflow/pull/9550#discussion_r517013285



##########
File path: .pre-commit-config.yaml
##########
@@ -159,8 +159,7 @@ repos:
     rev: 20.8b1
     hooks:
       - id: black
-        files: api_connexion/.*\.py|.*providers.*\.py|^chart/tests/.*\.py
-        exclude: .*kubernetes_pod\.py|.*google/common/hooks/base_google\.py$
+        exclude: 
.*kubernetes_pod\.py|.*google/common/hooks/base_google\.py$|^airflow/configuration.py$

Review comment:
       Yes, black had issues with it:
   
   ```
   ❯ pre-commit run black -a
   
black....................................................................Failed
   - hook id: black
   - exit code: 123
   
   error: cannot format 
/Users/kaxilnaik/Documents/Github/astronomer/airflow/airflow/configuration.py: 
INTERNAL ERROR: Black produced different code on the second pass of the 
formatter.  Please report a bug on https://github.com/psf/black/issues.  This 
diff might be helpful: 
/var/folders/jk/z68c_8nd1w5ggdc51r5zhnxm0000gn/T/blk_madaodvm.log
   Oh no! 💥 💔 💥
   2548 files left unchanged, 1 file failed to reformat.
   ```




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