@@ -19,32 +19,32 @@ repos:
1919 args : [--fix=lf]
2020 - id : trailing-whitespace
2121
22- # - repo: https://github.com/google/yapf
23- # # this rev is a release tag in the repo above and corresponds with a yapf
24- # # version. make sure this matches the version of yapf in tox.ini.
25- # rev: v0.43.0
26- # hooks:
27- # - id: yapf
28- # files: ^sdks/python/apache_beam/
29- # # keep these in sync with sdks/python/.yapfignore and run_pylint.sh
30- # exclude: &exclude >
31- # (?x)^(
32- # sdks/python/apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_client.py|
33- # sdks/python/apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_messages.py|
34- # sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py|
35- # sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_messages.py|
36- # sdks/python/apache_beam/io/gcp/internal/clients/storage/storage_v1_client.py|
37- # sdks/python/apache_beam/io/gcp/internal/clients/storage/storage_v1_messages.py|
38- # sdks/python/apache_beam/coders/proto2_coder_test_messages_pb2.py|
39- # sdks/python/apache_beam/portability/api/.*pb2.*.py
40- # )$
22+ - repo : https://github.com/google/yapf
23+ # this rev is a release tag in the repo above and corresponds with a yapf
24+ # version. make sure this matches the version of yapf in tox.ini.
25+ rev : v0.43.0
26+ hooks :
27+ - id : yapf
28+ files : ^sdks/python/apache_beam/
29+ # keep these in sync with sdks/python/.yapfignore and run_pylint.sh
30+ exclude : &exclude >
31+ (?x)^(
32+ sdks/python/apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_client.py|
33+ sdks/python/apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_messages.py|
34+ sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py|
35+ sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_messages.py|
36+ sdks/python/apache_beam/io/gcp/internal/clients/storage/storage_v1_client.py|
37+ sdks/python/apache_beam/io/gcp/internal/clients/storage/storage_v1_messages.py|
38+ sdks/python/apache_beam/coders/proto2_coder_test_messages_pb2.py|
39+ sdks/python/apache_beam/portability/api/.*pb2.*.py
40+ )$
4141
42- # - repo: https://github.com/pycqa/pylint
43- # # this rev is a release tag in the repo above and corresponds with a pylint
44- # # version. make sure this matches the version of pylint in tox.ini.
45- # rev: v2.17.5
46- # hooks:
47- # - id: pylint
48- # args: ["--rcfile=sdks/python/.pylintrc"]
49- # files: ^sdks/python/apache_beam/
50- # exclude: *exclude
42+ - repo : https://github.com/pycqa/pylint
43+ # this rev is a release tag in the repo above and corresponds with a pylint
44+ # version. make sure this matches the version of pylint in tox.ini.
45+ rev : v2.17.5
46+ hooks :
47+ - id : pylint
48+ args : ["--rcfile=sdks/python/.pylintrc"]
49+ files : ^sdks/python/apache_beam/
50+ exclude : *exclude
0 commit comments