1afaafab726754026a3b7425c44b1b152c84525a
this change adds ruff check as a pre-commit hook and ignores a number of linit error many of these will be removed in future patches As is done in other repos https://codesearch.opendev.org/?q=--unsafe-fixes&i=nope&literal=nope&files=&excludeFiles=&repos= we enable the pre-commit hook with --fix --unsafe-fixes which allows it to modify code where the intent might change but typically wont https://docs.astral.sh/ruff/linter/#fix-safety as this will be human reviewed this is safe to use in our project and allow ruff to fix more linting issues it detects. formatting is still left to autopep8 Change-Id: I46c4d462414dfa8ec4ded0defe4c3028ef14f4dd Signed-off-by: Sean Mooney <work@seanmooney.info>
Watcher
OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack-based clouds. Watcher provides a robust framework to realize a wide range of cloud optimization goals, including the reduction of data center operating costs, increased system performance via intelligent virtual machine migration, increased energy efficiency and more!
- Free software: Apache license
- Wiki: https://wiki.openstack.org/wiki/Watcher
- Source: https://opendev.org/openstack/watcher
- Bugs: https://bugs.launchpad.net/watcher
- Documentation: https://docs.openstack.org/watcher/latest/
- Release notes: https://docs.openstack.org/releasenotes/watcher/
- Design specifications: https://specs.openstack.org/openstack/watcher-specs/
Description
Languages
Python
99.7%
Shell
0.3%