Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add command to generate & update config files #62

Open
10 tasks
Nicoretti opened this issue May 24, 2023 · 0 comments
Open
10 tasks

✨ Add command to generate & update config files #62

Nicoretti opened this issue May 24, 2023 · 0 comments
Labels
feature Product feature

Comments

@Nicoretti
Copy link
Member

Summary

In order to simplify setting up and maintaining a project with the python-toolbox, a command for managing
the configuration files would be helpful.

Details

Having a cli tool for this task will reduce the need of copy & paste and replacing dummy values.

TL;DR:

  • Simplifies the workflow
  • Reduces the amount of potential errors
  • Reduces the effort for setting up and keeping up to date with the toolbox

Examples

Generate nox config file(s)

tbox config generate nox
tbox config generate noxconfig

Update the tool configuration(s) in the pyproject.toml file

tbox config update pyproject

References & Context

Task(s)

  • Add command to generate standard noxconfig.py
  • Add command to generate standard noxfile.py
  • Add command to update pyproject.toml with the expected tooling settings
    • pylint
    • coverage
    • black
    • isort
    • ...
  • Update documentation
  • Update change log
@Nicoretti Nicoretti added the feature Product feature label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

1 participant