Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 2.2 KB

File metadata and controls

38 lines (28 loc) · 2.2 KB

How to contribute

Design policy

The design policy of pip-licenses is as follows.

  • Focus only on outputting license information of Python packages installed in user's environment.
  • Support Python 3.9 or later.
  • External packages that depend on runtime are prettytable and tomli only.

Setup

  1. Fork this repository on your GitHub account.
  2. Create a branch to represent changes.
    • Branch name does NOT need feature/ prefix. Because git-flow is configured differently for maintainers.
  3. Create a new venv environment and Install package for development via make setup .
    • Dependencies are managed by pip-tools.
    • If you want to add dependency packages for development, edit the dev entry in pyproject.toml file and run make update-depends .
    • If you want to install the code under development, run make local-install .

Implementation and testing

  • pip-licenses always measures code coverage for code quality. If you implement a new feature, please also write unit test in test_piplicenses.py.
    • Tests can be run with make test .
  • Code conventions follow the PEP 8.
    • You can format the code by running make lint .
  • Send pull request to master branch. Maintainer(s) may adjust PRs to the appropriate development branch as realevant.

Security policy

If you find a significant vulnerability, or evidence of one, please report it privately.