You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/30 01:19:39 UTC

[GitHub] [beam] TheNeuralBit commented on pull request #22110: Minor: Bump flake8 to 4.0.1

TheNeuralBit commented on PR #22110:
URL: https://github.com/apache/beam/pull/22110#issuecomment-1170647748

   For posterity, I added the noga comments with this automation:
   ```sh
   python -m flake8 --select=E9,F821,F822,F823 apache_beam/**/*.py | cut -d ':' -f 1-2 | sort | uniq | xargs -I {} ./fix_line.sh {}
   ```
   
   `./fix_line.sh`:
   ```sh
   #!/bin/bash
   
   loc=$1
   
   line=$(echo $loc | cut -d':' -f2-2)
   path=$(echo $loc | cut -d':' -f1-1)
   
   sed -i "$line s/$/ # noqa: F821/" $path
   ```


-- 
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: github-unsubscribe@beam.apache.org

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