Skip to content

Sourcery is getting in the way  #389

Open
@Josverl

Description

@Josverl

Description

I would like sourcery not to be in my face in my code all the time.
given the example below :
image

  1. this is a test - why are you promoting the generate a test for every test that has been written ?
  2. the function has a docstring (although not a tripple-quoted one - why are you promoting to generate a docstring
  3. the proposed generated tests really make little sense at all, and all fail - taking away even more time and effort.

I do not like the way Sourcery tries to shoulder-wrestle itself into the foreground , and take away focus and screen real-estate from my code - I like Co Pilots UX approach much better.

there seem to be some basic rules :

  • do not generate tests for test functions
  • do not propose to write something that already exists
  • do not add code lenses to every class and every function, just because

Currently the only option to influence this is to completely shut down ALL sourcery code lenses
image
if there is a more granular option, that allows me to tune the above behavior's to be somewhat more polite - or adhering to my preferences , then that would be appreciated.

For now I find myself turning Sourcery off, while there are definitely good things that I do like that go with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions