Skip to main content

No project description provided

Project description

# Unused Deps Py

unused_deps_py is a command line tool to determine any unused dependencies in [java_library](https://docs.bazel.build/versions/master/be/java.html#java_library) rules. targets. It outputs buildozer commands to apply the suggested prunings. It’s based on unused_deps but it also adds support for rules_jvm_external maven repositories.

## Installation

Build a binary and put it into your $PATH:

`bash bazel build //unused_deps_py mkdir -p ~/bin ln -s $(pwd)/bazel-bin/unused_deps_py/unused_deps_py ~/bin/unused_deps_py `

## Usage

`shell unused_deps_py TARGET... `

Here, TARGET is a space-separated list of Bazel labels, with support for :all and

## Releasing

In order to release a new version you need to run this commands:

`shell bazel build --build_python_zip //unused_deps_py `

And then upload bazel-bin/unused_deps_py/unused_deps_py.zip to GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

unused_deps_py-0.0.1-py3-none-any.whl (196.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page