-
Notifications
You must be signed in to change notification settings - Fork 6
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
Merge config files into pyproject.toml #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note this config has not been moved into pyproject.toml since it's implied by the profile="black"
that's already there - see https://pycqa.github.io/isort/docs/configuration/profiles.html.
no_implicit_reexport = true | ||
|
||
# More strict checks for library code | ||
[[tool.mypy.overrides]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This syntax is a bit different from the .ini file - see https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The joys of TOML 😄
@astrojuanlu are these CI failures genuine? I don't see why the test fails and looks like it's failing on |
The CI failures are because these tests still expect the cookiecutter template, see gh-3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two files out 🗡️ Thanks a lot @AntonyMilneQB!
Does some of #4.
I didn't merge
tox.ini
because it looks more complicated and I wasn't sure whether you'd actually want to do that or would prefer to keep it separate?I checked that all was ok by generating a new project from the template and running
validate-pyproject
. (I'll make a separate issue about this in a second.)