Feature request: pyproject.toml intergration
See original GitHub issueWould be cool if import-linter would intergrate with pyproject.toml (PEP-518).
[tool.importlinter]
root_package = "myproject"
[[tool.importlinter.contract]]
name = "Foo doesn't import bar or baz"
type = "forbidden"
source_modules = [ "myproject.foo" ]
forbidden_modules = [
"myproject.bar",
"myproject.baz"
]
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
add required black version in pyproject.toml · Issue #1246 · ...
To summarize: pre-config integration is great, but if a contributor doesn't have pre-commit installed, they'll invoke black directly; if ...
Read more >The pyproject.toml config file
Run python3 -m flit.tomlify to convert a flit.ini file to pyproject.toml . ... TOML features new in version 1.0 require flit_core >=3.4 ....
Read more >Python and TOML: New Best Friends
Many of your favorite tools rely on TOML for configuration, and you'll use pyproject.toml when you build and distribute your own packages.
Read more >Support `pyproject.toml` and PEP-518 : PY-42296
PEP-518 defines the pyproject.toml as the new standard for python projects to replace the setup.py file. The standard itself is agnostic of tooling...
Read more >PEP 517 – A build-system independent format for source trees
An integration frontend is a tool that users might run that takes a ... If the pyproject.toml file is absent, or the build-backend...
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
This is now in the latest release 1.2.3. Enjoy!
This is now on master. Thanks @kasium for your work and @skarzi for reviewing!