Skip to content

No story: code cleanliness

Daniel Lopez Sanders requested to merge no-story-code-cleanliness into development

This story involved the following tasks for these utilities in apps/cli/utilities: aat_wrest, contacts_wrest, and core_sampler:

  1. Making code changes so Pylint finds no issues with the code.
  2. Making code changes so SonarLint (default configuration) finds no issues with the code.
  3. Other styling and formatting changes, including ensuring all Python docstrings and type hints are accurate.

Here's an example of how I can run pylint from the command line: pylint --rcfile=/home/dlopezsa/.pylintrc --init-hook="import pylint_venv; pylint_venv.inithook('./venv2')" apps/cli/utilities/core_sampler/test

Where my .pylintrc just contains this:

 [FORMAT] 
 max-line-length=120

pylint_venv was installed to use a Python virtual environment.

Edited by Daniel Lopez Sanders

Merge request reports

Loading