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 the repr to work for non-redecorated subclass. #20

merged 1 commit into from Jul 22, 2015


Copy link

@cyli cyli commented Jul 21, 2015

Currently, if you subclass an @attr.s-decorated class without re-decorating with another @attr.s, the repr displays the name of the superclass, not the subclass.

…e subclass, not the superclass, even if you don't redecorate with another @attr.s
Copy link

@codecov-io codecov-io commented Jul 21, 2015

Current coverage is 100.0%

Merging #20 into master will not affect coverage as of 17e5460

@@            master     #20   diff @@
  Files            6       6       
  Stmts          299     299       
  Branches        59      59       
  Methods          0       0       
  Hit            299     299       
  Partial          0       0       
  Missed           0       0       

Review entire Coverage Diff

Powered by Codecov

hynek added a commit that referenced this pull request Jul 22, 2015
Fix the repr to work for non-redecorated subclass.
@hynek hynek merged commit c6e2f1f into python-attrs:master Jul 22, 2015
3 checks passed
3 checks passed
codecov/commit 100.00% (min required 100%)
codecov/project 100.00% (min required 100%)
continuous-integration/travis-ci/pr The Travis CI build passed
Copy link

@hynek hynek commented Jul 22, 2015


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

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.