LLNL / ATS

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.
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Optimized, refactored, PEP compliant, readable #124

Closed v-hemish closed 1 year ago

v-hemish commented 1 year ago

Changes made to the code

  1. Renamed function names to follow PEP 8 guidelines which recommend using snake_case for function names.
  2. In the standard_introspection function, moved the "#ATS:" string to a variable called prefix to avoid using a magic string directly in the code.
  3. Simplified the are_brothers function by directly returning the result of the boolean expression, removing the need for separate conditional branches.
  4. Updated the docstrings to use triple double-quotes for consistency with PEP 257.