class documentation

class _IncrementalConfig:

View In Hierarchy

Configuration loaded from a ``pyproject.toml`` file.

Class Variable opt_in Does the pyproject.toml file contain a [tool.incremental] section? This indicates that the package has explicitly opted-in to Incremental versioning.
Class Variable package The project name, capitalized as in the project metadata.
Class Variable path Path to the package root
Property version_path Path of the ``_version.py`` file. May not exist.
opt_in: bool =

Does the pyproject.toml file contain a [tool.incremental] section? This indicates that the package has explicitly opted-in to Incremental versioning.

package: str =

The project name, capitalized as in the project metadata.

path: str =

Path to the package root

@property
version_path =

Path of the ``_version.py`` file. May not exist.