Project¤
Project
dataclass
¤
Metadata about the project for which tests are run.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
The name of the project. Project name is detected from pyproject.toml file if the file exits. |
repository_url |
str | None
|
The URL of the project's repository. Repositor URL is detected from pyproject.toml file if the file exits. The fields 'repository' and 'source' are looked for (case-insensitive) in respective order, and the first one found is used. |
version |
str | None
|
The version of the project. Project version is detected using importlib.metadata if pyproject.toml file if the file exits. |
name
instance-attribute
¤
name: str
The name of the project. Project name is detected from pyproject.toml file if the file exits.
repository_url
class-attribute
instance-attribute
¤
repository_url: str | None = None
The URL of the project's repository. Repositor URL is detected from pyproject.toml file if the file exits. The fields 'repository' and 'source' are looked for (case-insensitive) in respective order, and the first one found is used.