sot / cheta

Cheta Telemetry Archive
https://sot.github.io/eng_archive
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Ruff format and lint and tidy top-level #252

Closed taldcroft closed 10 months ago

taldcroft commented 10 months ago

Description

This is a light application of ruff formatting and linting, meaning that quite a few rules are ignored in the interest of time and recognizing that test coverage might be low.

In addition I did some long-overdue tidying of the top-level directory. There were a bunch of random scripts that were rarely/never used, including a number of Python 2 scripts. These were moved into dev_utils/ or dev_utils/legacy_py2/. I also moved all the NOTES.* files into a NOTES directory.

Interface impacts

Testing

Unit tests

Note: there is a warning in cheta/cheta/tests/test_comps.py::test_mups_valve related to being unable to get a version for Ska.engarchive. This warning is not new to this PR, it shows up in master testing the same way.

Independent check of unit tests by Jean

Functional tests

No functional testing.