kipyin / pokemaster

Checkout kipyin/pokemaster2 !
https://github.com/kipyin/pokemaster2
2 stars 2 forks source link

Use `@attr.s` on `pokemaster.Pokemon` #11

Open kipyin opened 5 years ago

kipyin commented 5 years ago

Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.

https://codeclimate.com/github/kipyin/pokemaster/pokemaster/pokemon.py#issue_5c570c605bdaea0001000017

kipyin commented 5 years ago

Use @attr.s and __attrs_post_init__() (doesn't change the number of arguments, tho)?