Packages

p

mill

pythonlib

package pythonlib

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. pythonlib
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait CoverageModule extends BaseClass with PythonModule

    Code coverage via Python's [coverage](https://coverage.readthedocs.io/) package.

    Code coverage via Python's [coverage](https://coverage.readthedocs.io/) package.

    ** Note that this is a helper trait, and you are unlikely to use this directly. If you're looking for including coverage across tests in your project, please use CoverageTests instead! **

    If you do want to use this module directly, please be aware that analyzing code coverage introduces "non-linear" changes to the execution task flow, and you will need to respect the following contract:

    1. This trait defines a location where coverage data must be saved.

    2. You need to define a coverageTask which is responsible for creating coverage data in the before mentioned location. How this is done is up to you. As an example, the CoverageTests module modifies pythonOptions to prepend a -m coverage command line argument.

    3. This trait defines methods that will a) invoke the coverage task b) assume report data exists in the predefined location c) use that data to generate coverage reports.

    Annotations
    @Scaladoc()
  2. trait CoverageTests extends BaseClass with CoverageModule with TestModule

    Analyze code coverage, starting from tests.

    Analyze code coverage, starting from tests.

    Annotations
    @Scaladoc()
  3. type Developer = pythonlib.PublishModule.Developer
  4. type License = scalalib.publish.License
  5. trait PipModule extends BaseClass with Module

    Basic tasks for preparing a python interpreter in a venv with required dependencies installed.

    Basic tasks for preparing a python interpreter in a venv with required dependencies installed.

    Annotations
    @Scaladoc()
  6. type PublishMeta = pythonlib.PublishModule.PublishMeta
  7. trait PublishModule extends BaseClass with PythonModule

    A python module which also defines how to build and publish source distributions and wheels.

    A python module which also defines how to build and publish source distributions and wheels.

    Annotations
    @Scaladoc()
  8. trait PythonModule extends BaseClass with PipModule with TaskModule
  9. trait RuffModule extends BaseClass with PythonModule

    Linting and formatting functionality provided by [ruff](https://docs.astral.sh/ruff/).

    Linting and formatting functionality provided by [ruff](https://docs.astral.sh/ruff/).

    Annotations
    @Scaladoc()
  10. trait TestModule extends BaseClass with TaskModule

Value Members

  1. val Developer: pythonlib.PublishModule.Developer.type
  2. val License: scalalib.publish.License.type
  3. val PublishMeta: pythonlib.PublishModule.PublishMeta.type
  4. object PipModule
  5. object PublishModule
  6. object PythonModule
  7. object RuffModule extends ExternalModule with RuffModule with TaskModule
  8. object TestModule

Inherited from AnyRef

Inherited from Any

Ungrouped