prospector icon indicating copy to clipboard operation
prospector copied to clipboard

[FEATURE REQUEST] support configuration in pyproject.toml

Open ltalirz opened this issue 5 years ago • 11 comments

The latest/upcoming releases of python-based tools like pylint (see https://github.com/PyCQA/pylint/issues/617), coverage (https://github.com/nedbat/coveragepy/issues/664), pytest (https://github.com/pytest-dev/pytest/issues/1556) etc. all support configuration via the pyproject.toml file (PEP 518), making it possible to keep the configuration of these tools in one place and unclutter the top level of python package repositories.

It would be nice, if prospector would support this as well - see also https://github.com/pytest-dev/pytest/issues/1556#issuecomment-570917625 for some more reasoning why this is a good idea.

ltalirz avatar Apr 11 '20 10:04 ltalirz

Nice. I'll check how to adopt it into the project, but shouldn't be part of the next release by the end of the month yet, prob mid-June.

chocoelho avatar May 22 '20 13:05 chocoelho

hey, wanted to check in what the progress on this is, with prospector as well as other tools it integrates(in my case vulture) being able to use pyproject.toml

would love to see this happen!

laundmo avatar Dec 30 '20 04:12 laundmo

What is the latest on this? Would be great to see pyproject.toml support for Prospector. It's currently the only tool in the modern dev's toolkit that requires a separate configuration file.

adamcunnington avatar Mar 09 '21 09:03 adamcunnington

Would also love this feature. Using poetry, black, and then prospector and having everything be able to be set using pyproject.toml would make me so happy.

MarthinusBosman avatar Aug 27 '21 16:08 MarthinusBosman

I am tempted to take this on actually, I'd like to move prospector to using poetry for packaging anyway.

carlio avatar Aug 27 '21 16:08 carlio

  • 1!

adamcunnington avatar Sep 18 '21 22:09 adamcunnington

@carlio is this still on your radar?

adamcunnington avatar Oct 23 '21 08:10 adamcunnington

I would review, merge and release an implementation of this.

Pierre-Sassoulas avatar Oct 23 '21 08:10 Pierre-Sassoulas

Depends on #442 , intention is to replace how prospector is configured (probably using click?) and in doing so I can include using pyproject.toml as a source.

carlio avatar Mar 01 '22 19:03 carlio

Any more progress on this feature? Thx in advance

robertalexa avatar Jun 08 '23 11:06 robertalexa

Gentle ping: @carlio is this still on the radar ?

SauravMaheshkar avatar Jan 05 '24 20:01 SauravMaheshkar