Skip to content

Fix Pylint failing with AttributeError #798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2021

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