Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

RFC: Optional flags for opt-in features? #8

Open
j6k4m8 opened this issue Mar 9, 2021 · 1 comment
Open

RFC: Optional flags for opt-in features? #8

j6k4m8 opened this issue Mar 9, 2021 · 1 comment

Comments

@j6k4m8
Copy link
Contributor

j6k4m8 commented Mar 9, 2021

It would be nice to be able to add --tests to include a tests/ submodule, or --poetry to add

[tool.poetry]
name = "foobar"
version = "1.2.3"
description  = "bar fooer"
authors = ["Baz Lightyax"]

to the pyproject.toml.

Perhaps the right home for these sorts of additions is in a plugin registry?

Other thoughts:

  • black: we currently include a [tool.black] section, but not the byproducts of running

    poetry add --dev black --allow-prereleases
    
  • flake: A plugin system might be a good place to give a user the option to select defaults

@mlw214
Copy link
Contributor

mlw214 commented Mar 10, 2021

I'm very much envision this tool to be based around pip-tools (hence the requirements directory), though I might be up for plugins. I'd have to think about how that would look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants