Skip to content

Conversation

@offa
Copy link
Contributor

@offa offa commented Jun 15, 2021

Running pylint fails with AttributeErrors:

AttributeError: 'int' object has no attribute 'items'
AttributeError: 'float' object has no attribute 'find'

Adding the section as shown in pylint-dev/pylint#3181 (comment) fixed the first error.

The second one is caused by floats not being handled correctly (fix but unreleased; pylint-dev/pylint#4518).

  • Tested with 91ddbe2 (latest master commit)
  • Pylint: 2.8.3
  • Python: 3.9.5

@offa offa marked this pull request as draft June 15, 2021 09:46
@offa offa force-pushed the pylint_attributeerror_fix branch from 31c71a4 to 191cd44 Compare June 15, 2021 09:53
@offa offa marked this pull request as ready for review June 15, 2021 09:54
@gonchik gonchik merged commit f76298c into atlassian-api:master Jun 16, 2021
@offa offa deleted the pylint_attributeerror_fix branch June 17, 2021 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants