- 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
blackon the repo withnox -rs blackto format the code - Run
noxon 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:
flake8to check for formatting issues: https://flake8.pycqa.org/en/latest/flake8-blackto check for style issues: