- Nox can be installed following these instructions: https://nox.thea.codes/en/stable/
- Add any new source file (extension
.py
) to the list of files to be checked innoxfile.py
- Run
black
on the repo withnox -rs black
to format the code - Run
nox
on the root of the repo
You should be able to have a more descriptive trace in the code by using the @logger.catch
decorator (see documentation)
nox
will run the following:
flake8
to check for formatting issues: https://flake8.pycqa.org/en/latest/flake8-black
to check for style issues: