ahh, thanks somehow I missed that.

On Tue, Mar 12, 2019 at 11:32 AM Ahmet Altay <[email protected]> wrote:

> Error is in the logs you shared (from gradle scan)
>
> Running pycodestyle for module apache_beam  gen_protos.py  setup.py
> test_config.py:
> -> apache_beam/runners/dataflow/dataflow_metrics.py:49:1: E303 too many
> blank lines (4)
> -> apache_beam/runners/dataflow/dataflow_metrics.py:285:3: E303 too many
> blank lines (2)
> Command exited with non-zero status 1
>
> On Tue, Mar 12, 2019 at 11:27 AM Alex Amato <[email protected]> wrote:
>
>> Not sure how to proceed with my PR, this error says my code is 10/10 but
>> the command is still returning an error and fails.
>>
>> https://scans.gradle.com/s/47d4pkuf4tp46
>>
>>
>> :beam-sdks-python:lintPy27 FAILED
>> GLOB sdist-make: /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/setup.py
>> py27-lint recreate: /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/target/.tox/py27-lint
>> py27-lint installdeps: pycodestyle==2.3.1, pylint==1.9.3, future==0.16.0,
>> isort==4.2.15, flake8==3.5.0
>> WARNING:Discarding $PYTHONPATH from environment, to override specify
>> PYTHONPATH in 'passenv' in your configuration.
>> py27-lint inst: /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/target/.tox/dist/apache-beam-2.12.0.dev0.zip
>> py27-lint installed: DEPRECATION: Python 2.7 will reach the end of its
>> life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't
>> be maintained after that date. A future version of pip will drop support
>> for Python
>> 2.7.,apache-beam==2.12.0.dev0,astroid==1.6.5,avro==1.8.2,backports.functools-lru-cache==1.5,certifi==2019.3.9,chardet==3.0.4,configparser==3.7.3,crcmod==1.7,dill==0.2.9,docopt==0.6.2,enum34==1.1.6,fastavro==0.21.19,flake8==3.5.0,funcsigs==1.0.2,future==0.16.0,futures==3.2.0,grpcio==1.19.0,hdfs==2.2.2,httplib2==0.11.3,idna==2.8,isort==4.2.15,lazy-object-proxy==1.3.1,mccabe==0.6.1,mock==2.0.0,monotonic==1.5,nose==1.3.7,numpy==1.16.2,oauth2client==3.0.0,pandas==0.23.4,parameterized==0.6.3,pbr==5.1.3,protobuf==3.7.0,pyarrow==0.11.1,pyasn1==0.4.5,pyasn1-modules==0.2.4,pycodestyle==2.3.1,pydot==1.2.4,pyflakes==1.6.0,PyHamcrest==1.9.0,pylint==1.9.3,pyparsing==2.3.1,python-dateutil==2.8.0,pytz==2018.9,PyVCF==0.6.8,PyYAML==3.13,requests==2.21.0,rsa==4.0,singledispatch==3.4.0.3,six==1.12.0,tenacity==5.0.3,typing==3.6.6,urllib3==1.24.1,wrapt==1.11.1
>> py27-lint runtests: PYTHONHASHSEED='4209602030'
>> py27-lint runtests: commands[0] | pylint --version
>> Using config file /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/.pylintrc
>> pylint 1.9.3,
>> astroid 1.6.5
>> Python 2.7.14+ (default, Dec 5 2017, 15:17:02)
>> [GCC 7.2.0]
>> py27-lint runtests: commands[1] | pip --version
>> pip 19.0.3 from /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/target/.tox/py27-lint/lib/python2.7/site-packages/pip
>> (python 2.7)
>> py27-lint runtests: commands[2] | /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/scripts/run_tox_cleanup.sh
>> py27-lint runtests: commands[3] | time
>> /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/scripts/run_pylint.sh
>> Skipping lint for generated files: bigquery_v2_client.py,
>> bigquery_v2_messages.py, dataflow_v1b3_client.py,
>> dataflow_v1b3_messages.py, storage_v1_client.py, storage_v1_messages.py,
>> proto2_coder_test_messages_pb2.py, beam_artifact_api_pb2_grpc.py,
>> beam_artifact_api_pb2.py, beam_expansion_api_pb2_grpc.py,
>> beam_expansion_api_pb2.py, beam_fn_api_pb2_grpc.py, beam_fn_api_pb2.py,
>> beam_job_api_pb2_grpc.py, beam_job_api_pb2.py,
>> beam_provision_api_pb2_grpc.py, beam_provision_api_pb2.py,
>> beam_runner_api_pb2_grpc.py, beam_runner_api_pb2.py, endpoints_pb2_grpc.py,
>> endpoints_pb2.py, metrics_pb2_grpc.py, metrics_pb2.py,
>> standard_window_fns_pb2_grpc.py, standard_window_fns_pb2.py
>> Running pylint for module apache_beam gen_protos.py setup.py
>> test_config.py:
>> Using config file /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/.pylintrc
>> --------------------------------------------------------------------
>> Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
>> Running pycodestyle for module apache_beam gen_protos.py setup.py
>> test_config.py:
>> apache_beam/runners/dataflow/dataflow_metrics.py:49:1: E303 too many
>> blank lines (4)
>> apache_beam/runners/dataflow/dataflow_metrics.py:285:3: E303 too many
>> blank lines (2)
>> Command exited with non-zero status 1
>> 499.83user 15.71system 1:36.48elapsed 534%CPU (0avgtext+0avgdata
>> 502996maxresident)k
>> 8inputs+224outputs (0major+816639minor)pagefaults 0swaps
>> ERROR: InvocationError for command '/usr/bin/time
>> /usr/local/google/home/ajamato/go/src/
>> github.com/apache/beam/sdks/python/scripts/run_pylint.sh' (exited with
>> code 1)
>> ___________________________________ summary
>> ____________________________________
>> ERROR: py27-lint: commands failed
>>
>

Reply via email to