Features#

Uniform Project Layout#

The PTB expects a default project layout following “convention over configuration”. Initial files and directories in new projects are created by a Cookiecutter project-template.

Nox#

The task runner Nox is the most central tool when interacting with the PTB. The toolbox itself provides various standard tasks (so-called Nox sessions).

Central files in regards to nox and the toolbox are:

  • noxfile.py: Standard nox configuration/setup file

  • noxconfig.py: Exasol-specific file containing additional information needed by the standard tasks of the toolbox

Important Nox Commands#

Use nox -l to show the current list of sessions for your project

Common examples are as follows:

  • nox -s format:fix applies formatting changes.

  • nox -s test:unit runs unit tests.

  • nox -s workflow:generate -- all updates PTB workflow files.

For more details, see the dedicated sections on specific features including formatting, GitHub workflows, dependency management, release preparation, and code-quality reporting.