ATS - Automated Testing System - is an open-source, Python-based tool for automating the running of tests of an application across a broad range of high performance computers.
Introducing the atsformat command. atsformat uses black and isort to format python files. One initial setback with black was its insistence on converting #ATS: to # ATS: that breaks the code. So atsformat lets black do this and later reverts # ATS: back to #ATS: - same for #BATS:.
By default, black and isort are not installed but developers can include these during the ATS installation \
by adding "[dev]" like this: pip install <path to ATS>"[dev]"
Introducing the
atsformat
command.atsformat
usesblack
andisort
to format python files. One initial setback withblack
was its insistence on converting#ATS:
to# ATS:
that breaks the code. Soatsformat
letsblack
do this and later reverts# ATS:
back to#ATS:
- same for#BATS:
.By default,
black
andisort
are not installed but developers can include these during the ATS installation \ by adding"[dev]"
like this:pip install <path to ATS>"[dev]"