Skip to content

Switch template project to pyproject toml? #11

Closed

Description

@matmair

The python ecosystem and tooling especially are moving to a singular toml file for all settings. My template already uses that - should we switch this one too? https://github.com/matmair/inventree-meta-plugin/blob/main/%7B%7B%20cookiecutter.project_slug%20%7D%7D/pyproject.toml

Activity

  1. SchrodingersGat commented on Jan 30, 2025

    @SchrodingersGat
    Member

    Yes, this is a great idea. I'm not familiar with pyproject.toml setup - can you submit a PR for this?

  2. matmair commented on Jan 30, 2025

    @matmair
    MemberAuthor

    I have some prior art. Will look a bit closer at your implementation and create a PR

  3. added a commit that references this issue on Feb 2, 2025
    a40d5b6
  4. matmair commented on Feb 2, 2025

    @matmair
    MemberAuthor

    @SchrodingersGat how strongly do you feel about flake8? Ruff would be easier to configure and faster so might be a good point to change to that

  5. SchrodingersGat commented on Feb 2, 2025

    @SchrodingersGat
    Member

    I have no attachment to flake

  6. wolflu05 commented on Sep 17, 2025

    @wolflu05
    Member

    May I ask, if you get anywhere with this? I have no experience with pyproject.toml and want to learn about the new tooling.

  7. matmair commented on Sep 18, 2025

    @matmair
    MemberAuthor

    I think that this issue can actually be closed on out now

    Not really, we still rely on the setup.cfg

    May I ask, if you get anywhere with this?

    TBH I forgot about it, will try to make a PR the next week - should be pretty simple

  8. matmair commented on Sep 19, 2025

    @matmair
    MemberAuthor

    @wolflu05 I have now added the changes

  9. wolflu05 commented on Sep 20, 2025

    @wolflu05
    Member

    Thanks a lot, I'll take a look in the next days and maybe try to refactor my existing plugins..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions