lukehsiao / poetry-udeps Goto Github PK
View Code? Open in Web Editor NEWFind unused dependencies in pyproject.toml
License: Other
Find unused dependencies in pyproject.toml
License: Other
Newer versions of poetry (1.2.0+) change the configuration of dev-dependencies to use dependency groups: python-poetry/poetry#4260
e.g.
[tool.poetry.group.dev.dependencies]
We currently do not parse this correctly.
We also don't do anything with the "docs" dependencies.
I've encountered an error while trying to run this on a repo:
> poetry-udeps
thread 'main' panicked at <USER_HOME>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/poetry-udeps-0.2.2/src/lib.rs:98:22:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
With the backtrace:
stack backtrace:
0: rust_begin_unwind
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
1: core::panicking::panic_fmt
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
2: core::panicking::panic
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:117:5
3: poetry_udeps::get_dependencies
4: poetry_udeps::run
5: poetry_udeps::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.