beam icon indicating copy to clipboard operation
beam copied to clipboard

[Playground] [Infrastructure] Uniform code style for python scripts

Open vchunikhin opened this issue 2 years ago • 3 comments

fixes #22388

Python scripts that updates examples in Playground project during CI/CD running were not formatted uniformly. it makes them hard to read, so it has been formatted uniformly

PyCharm configuration:

  • Tab size: 4
  • Indent: 4
  • Continuation indent: 6

In addition, code style was formatted according to https://www.flake8rules.com/

@olehborysevych


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • [x] Choose reviewer(s) and mention them in a comment (R: @username).
  • [x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • [ ] Update CHANGES.md with noteworthy changes.
  • [x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels Python tests Java tests

See CI.md for more information about GitHub Actions CI.

vchunikhin avatar Jul 15 '22 08:07 vchunikhin

LGTM (internal review)

olehborysevych avatar Aug 04 '22 11:08 olehborysevych

R: @pabloem

vchunikhin avatar Aug 10 '22 07:08 vchunikhin

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

github-actions[bot] avatar Aug 10 '22 07:08 github-actions[bot]

lgtm

pabloem avatar Aug 10 '22 17:08 pabloem