question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENH Add support for project.toml

See original GitHub issue

See 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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MarcoGorellicommented, Sep 13, 2020

I’m tempted to say that this should be setup.cfg instead so we don’t need to add toml 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-guard

EDIT

I’d tried adding you for ideas, then realised I’d already done that

0reactions
s-weigandcommented, Sep 13, 2020

But adding a setup.cfg just for a tools config, would be similar to the custom config file approach.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found