Closed netsettler closed 11 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
dcicutils/license_utils.py | 240 | 317 | 75.71% | ||
<!-- | Total: | 254 | 331 | 76.74% | --> |
Totals | |
---|---|
Change from base Build 6240767306: | -0.1% |
Covered Lines: | 8478 |
Relevant Lines: | 10917 |
Some additions to license checkers.
run-license-checker
for people to use this without installing it in code.Having done this, though, we removed the
scan2-pipeline
policy definition because it can now be modularly added elsewhere, in that code. Such a definition can be added in an external module and then invoked interactively by:or from code by:
Note that if the conda checkers do not run, you may be in the wrong directory or Conda may not have set its
CONDA_PREFIX
environment variable. You can specify the directory by:or you can override the search for Conda's
CONDA_PREFIX
environment variable by setting theCONDA_LICENSE_CHECKER_PREFIX
environment variable, which can be used to overrideCONDA_PREFIX
.