Skip to content
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

brain_mechanize: Add missing methods to transform #794

Merged

Conversation

pkolbus
Copy link
Contributor

@pkolbus pkolbus commented May 24, 2020

Steps

  • For new features or bug fixes, add a ChangeLog entry describing what your PR does.
  • Write a good description on what the PR does.

Description

The brain transform for mechanize was missing most methods for the Browser class, leading to false positives in pylint, such as:

E1101: Instance of 'Browser' has no 'select_form' member (no-member)
E1137: 'browser' does not support item assignment (unsupported-assignment-operation)

Add missing methods to align with mechanize 0.4.5.

Type of Changes

Type
🐛 Bug fix

Related Issue

Closes #793.

pkolbus and others added 3 commits May 24, 2020 12:00
The brain transform for mechanize was missing most methods for the
Browser class, leading to false positives in pylint, such as:

E1101: Instance of 'Browser' has no 'select_form' member (no-member)
E1137: 'browser' does not support item assignment
    (unsupported-assignment-operation)

Add missing methods to align with mechanize 0.4.5.

Fixes pylint-dev#793.
@PCManticore PCManticore merged commit b339a0e into pylint-dev:master May 28, 2020
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.

brain_mechanize provides an incomplete Browser
2 participants