ENH Add support for project.toml
See original GitHub issueSee discussion in #210
A possible example, corresponding to the docs would be:
[tool.nbqa.mutate]
black = true
isort = false
[tool.nbqa.addopts]
flake8 = [
"--ignore W503",
]
[tool.nbqa.configs]
mypy = ".mypy.ini"
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
add exclude and include support in project.toml #511 - GitHub
Description Exclude and Include are not yet supported in project.toml for pack build. Adding support for these features, moves us substantially closer to ......
Read more >Status of "`pyproject.toml` presence triggers different pip ...
I was about to recommend someone add a pyproject.toml file to their project to declare build-time dependencies following PEP 518, ...
Read more >Python 3.11 Preview: TOML and tomllib
toml file has settled in, Python 3.11 adds support for parsing TOML files. In this section, you'll learn more about what the TOML...
Read more >10. Project.toml and Manifest.toml - 1. Introduction · Pkg.jl
Given a Project. toml + Manifest. toml pair, it is possible to instantiate the exact same package environment, which is very useful for...
Read more >Julia 1.6: what has changed since Julia 1.0?
Julia 1.5 added built-in support for rr (Linux only for now). ... Though there is a better way if you use test/Project.toml ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m tempted to say that this should be
setup.cfg
instead so we don’t need to addtoml
as a dependency.I’d even go as far as saying that we should only use
setup.cfg
and warn if an .nbqa.ini file is detected so that existing users (if they exist) won’t be caught off-guardEDIT
I’d tried adding you for ideas, then realised I’d already done that
But adding a
setup.cfg
just for a tools config, would be similar to the custom config file approach.