Skip to content

Unable to commit: Error during pylint check #1321

@Bibo-Joshi

Description

@Bibo-Joshi

Since I have little knowledge of the automatic checking setup, I don't know, if this is even PTB related. However, since I was not able to resolve the issue in not-PTB-related ways, I at least wanted to ask.
I finally hat the time, to implement the global memory suggested in #1318 and would very much like to open a PR 😅

Steps to reproduce

  1. Follow the Contribution guideline

  2. Change something (for testing, I added a whitespace in a comment …)

  3. try to commit the changes

Expected behaviour

Commits

Actual behaviour

During the pylint procedure an error gets thrown: AttributeError: module 'astroid' has no attribute 'YES'.

Configuration

Operating System:

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=19

Version of Python, python-telegram-bot & dependencies:

$ python -m telegram

python-telegram-bot 11.1.0
certifi 2018.11.29
future 0.17.1
Python 2.7.15rc1

What I have tried

  • Update pylint and astroid
  • Reinstall the OS
  • check if astroid.YES exists (it does!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions