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

Fix crash in dataclass brain #1770

Merged
merged 2 commits into from Sep 6, 2022
Merged

Conversation

DanielNoord
Copy link
Collaborator

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

Closes pylint-dev/pylint#7422

Type of Changes

Type
🐛 Bug fix

I also fixed the typing in this module. This bug would have been easily been prevented if the module didn't raise 40+ warnings so the actual warning that would fix this was drowned out.

Again, sorry guys...

Refs. #1768 #1764

@coveralls
Copy link

coveralls commented Sep 6, 2022

Pull Request Test Coverage Report for Build 3001624485

  • 34 of 35 (97.14%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 92.414%

Changes Missing Coverage Covered Lines Changed/Added Lines %
astroid/brain/brain_dataclasses.py 34 35 97.14%
Totals Coverage Status
Change from base Build 3001550004: 0.01%
Covered Lines: 9758
Relevant Lines: 10559

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash Building error when trying to create ast representation of module 'test'
3 participants