Miserlou / JonesComplexity

Per-line complexity for Flake8
29 stars 4 forks source link

Adding extra tests #21

Closed sobolevn closed 6 years ago

sobolevn commented 6 years ago

I really want to adopt this check in my everyday practice: https://github.com/wemake-services/wemake-django-template/issues/218

But lacking of tests stops from doing so.

I want to cover some specific cases, such as:

  1. with statements
  2. yield from
  3. async * cases
  4. Metaclasses
  5. Dynamic type() creation
  6. Creating nested classes in other classes and functions

Extra:

  1. So performance metrics would also be fine

Do you mind if I add these tests to the project?

Miserlou commented 6 years ago

Please be my guest! I'll push a new release as well if you tell me to.