You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PTB expects a default project layout following "convention over configuration" when possible and reasonable.
8
+
See the cookie-cutter project template for details, which is part of the python-toolbox workspace and can be found in directory `project-template`.
9
+
You can also generate a project from the template to explore the default structure.
10
+
For more details on this, please check out section `"getting started" <getting_started.html>`_ section.
11
+
12
+
Nox
13
+
---
14
+
15
+
The most central tool when interacting with the toolbox is :code:`nox`, which is the task runner used across all of Exasol's Python-based projects.
16
+
The toolbox itself provides various standard tasks and a plugin mechanism to extend these tasks if needed. For more information regarding nox, please visit the `nox homepage <http://nox.thea.codes/en/stable/>`_.
17
+
18
+
Central files in regards to nox and the toolbox are:
19
+
20
+
- noxfile.py: Standard nox configuration/setup file
21
+
- noxconfig.py: Exasol-specific file containing additional information needed by the standard tasks of the toolbox
22
+
23
+
Important Nox Commands
24
+
^^^^^^^^^^^^^^^^^^^^^^
25
+
26
+
* :code:`nox -l` shows a list of all available nox tasks
27
+
* :code:`nox -s <tasks>` run the specified task(s)
28
+
* :code:`nox -s test:typing` runs the type checker on the project
29
+
* :code:`nox -s docs:clean docs:build docs:open`
30
+
#. first task removes the documentation folder
31
+
#. second one builds the documentation
32
+
#. last one opens the documentation in the web browser
33
+
* :code:`nox` without :code:`-s` runs the default task which is
34
+
* :code:`nox -s project:fix` this command runs automated fixes on the code
0 commit comments