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

[docs request] Examples of pyproject.toml and setup.cfg #100

Open
vaughnkoch opened this issue Aug 1, 2023 · 0 comments
Open

[docs request] Examples of pyproject.toml and setup.cfg #100

vaughnkoch opened this issue Aug 1, 2023 · 0 comments

Comments

@vaughnkoch
Copy link

Hi, it would be nice to have a few examples in the readme of workingpyproject.toml and setup.cfg files.

In particular, for pyproject.toml, it was not obvious that you have to use [tool.blue] instead of [blue], [tool.black], etc. However, for setup.cfg, you need to use [blue].

This basic pyproject.toml works for me:

[tool.blue]
line-length = 88
target-version = ['py37', 'py38']
include = '\.pyi?$'
color = true
extend-exclude = '''

This basic setup.cfg seems to work as well:

[blue]
line-length = 88
color = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant