package pythonlib
- Alphabetic
- By Inheritance
- pythonlib
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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 modifiespythonOptions
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()
- trait CoverageTests extends BaseClass with CoverageModule with TestModule
Analyze code coverage, starting from tests.
Analyze code coverage, starting from tests.
- Annotations
- @Scaladoc()
- type Developer = pythonlib.PublishModule.Developer
- type License = scalalib.publish.License
- 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()
- type PublishMeta = pythonlib.PublishModule.PublishMeta
- 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()
- trait PythonModule extends BaseClass with PipModule with TaskModule
- 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()
- trait TestModule extends BaseClass with TaskModule
Value Members
- val Developer: pythonlib.PublishModule.Developer.type
- val License: scalalib.publish.License.type
- val PublishMeta: pythonlib.PublishModule.PublishMeta.type
- object PipModule
- object PublishModule
- object PythonModule
- object RuffModule extends ExternalModule with RuffModule with TaskModule
- object TestModule