potiuk commented on a change in pull request #12082:
URL: https://github.com/apache/airflow/pull/12082#discussion_r518718914
##########
File path: .pre-commit-config.yaml
##########
@@ -199,7 +199,7 @@ repos:
hooks:
- id: isort
name: Run isort to sort imports
- types: [python]
+ files: \.py$
Review comment:
Types: Python is not perfect. For some reason the types selection is
sometimes wrong. We've learned that using file extensions is much more stable
and predictable.
----------------------------------------------------------------
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]