[ 
https://issues.apache.org/jira/browse/BEAM-3738?focusedWorklogId=84996&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-84996
 ]

ASF GitHub Bot logged work on BEAM-3738:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Mar/18 19:41
            Start Date: 27/Mar/18 19:41
    Worklog Time Spent: 10m 
      Work Description: cclauss commented on issue #4798: [BEAM-3738] Add more 
flake8 tests to run_pylint.sh
URL: https://github.com/apache/beam/pull/4798#issuecomment-376649775
 
 
   F821 status (there are PRs open for most of these)...
   
   $ __python3 -m flake8 . --count --select=E9,F821,F822,F823 --show-source 
--statistics__
   ```
   ./sdks/python/apache_beam/io/vcfio_test.py:77:14: F821 undefined name 'cmp'
         return cmp(v1.end, v2.end)
                ^
   ./sdks/python/apache_beam/io/vcfio_test.py:78:12: F821 undefined name 'cmp'
       return cmp(v1.start, v2.start)
              ^
   ./sdks/python/apache_beam/io/vcfio_test.py:79:10: F821 undefined name 'cmp'
     return cmp(v1.reference_name, v2.reference_name)
            ^
   ./sdks/python/apache_beam/io/avroio.py:313:34: F821 undefined name 'buffer'
         result = snappy.decompress(buffer(data)[:-4])
                                    ^
   ./sdks/python/apache_beam/io/gcp/datastore/v1/helper.py:93:12: F821 
undefined name 'cmp'
     result = cmp(p1.kind, p2.kind)
              ^
   ./sdks/python/apache_beam/io/gcp/datastore/v1/helper.py:101:12: F821 
undefined name 'cmp'
       return cmp(p1.id, p2.id)
              ^
   ./sdks/python/apache_beam/io/gcp/datastore/v1/helper.py:106:10: F821 
undefined name 'cmp'
     return cmp(p1.name, p2.name)
            ^
   ./sdks/python/apache_beam/utils/windowed_value.py:196:14: F821 undefined 
name 'cmp'
         return cmp(type(left), type(right))
                ^
   ./sdks/python/apache_beam/utils/timestamp.py:100:12: F821 undefined name 
'cmp'
       return cmp(self.micros, other.micros)
              ^
   ./sdks/python/apache_beam/utils/timestamp.py:178:12: F821 undefined name 
'cmp'
       return cmp(self.micros, other.micros)
              ^
   ./sdks/python/apache_beam/testing/test_stream.py:51:14: F821 undefined name 
'cmp'
         return cmp(type(self), type(other))
                ^
   ./sdks/python/apache_beam/testing/test_stream.py:66:12: F821 undefined name 
'cmp'
       return cmp(self.timestamped_values, other.timestamped_values)
              ^
   ./sdks/python/apache_beam/testing/test_stream.py:76:12: F821 undefined name 
'cmp'
       return cmp(self.new_watermark, other.new_watermark)
              ^
   ./sdks/python/apache_beam/testing/test_stream.py:86:12: F821 undefined name 
'cmp'
       return cmp(self.advance_by, other.advance_by)
              ^
   ./sdks/python/apache_beam/transforms/window.py:195:12: F821 undefined name 
'cmp'
       return cmp(self.end, other.end) or cmp(hash(self), hash(other))
              ^
   ./sdks/python/apache_beam/transforms/window.py:195:40: F821 undefined name 
'cmp'
       return cmp(self.end, other.end) or cmp(hash(self), hash(other))
                                          ^
   ./sdks/python/apache_beam/transforms/window.py:250:14: F821 undefined name 
'cmp'
         return cmp(type(self), type(other))
                ^
   ./sdks/python/apache_beam/transforms/window.py:251:12: F821 undefined name 
'cmp'
       return cmp((self.value, self.timestamp), (other.value, other.timestamp))
              ^
   ./sdks/python/apache_beam/runners/portability/fn_api_runner_test.py:103:11: 
F821 undefined name 'MetricKey'
             MetricKey('mydofn',
             ^
   ./sdks/python/apache_beam/runners/portability/fn_api_runner_test.py:104:21: 
F821 undefined name 'MetricName'
                       MetricName('ns1', 'elements')),
                       ^
   ./sdks/python/apache_beam/runners/portability/fn_api_runner_test.py:105:11: 
F821 undefined name 'MetricKey'
             MetricKey('myotherdofn',
             ^
   ./sdks/python/apache_beam/runners/portability/fn_api_runner_test.py:106:21: 
F821 undefined name 'MetricName'
                       MetricName('ns2', 'elementsplusone'))])
                       ^
   ./sdks/python/apache_beam/runners/worker/statesampler_slow.py:54:12: F821 
undefined name 'StateSamplerInfo'
       return StateSamplerInfo(
              ^
   23    F821 undefined name 'buffer'
   23
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 84996)
    Time Spent: 14h  (was: 13h 50m)

> Enable Py3 linting in Jenkins
> -----------------------------
>
>                 Key: BEAM-3738
>                 URL: https://issues.apache.org/jira/browse/BEAM-3738
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core, testing
>            Reporter: holdenk
>            Assignee: Ahmet Altay
>            Priority: Major
>          Time Spent: 14h
>  Remaining Estimate: 0h
>
> After BEAM-3671 is finished enable linting.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to