potiuk commented on a change in pull request #16110:
URL: https://github.com/apache/airflow/pull/16110#discussion_r771000339
##########
File path: airflow/task/task_runner/base_task_runner.py
##########
@@ -19,6 +19,12 @@
import os
import subprocess
import threading
+
+from airflow.utils.platform import IS_WINDOWS
+
+if not IS_WINDOWS:
+ from pwd import getpwnam
Review comment:
```suggestion
# ignored to avoid flake complaining on Linux
from pwd import getpwnam # flake8: noqa
```
--
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]