Skip to content

Glossary: Refactoring and Clean Code

unsafe fix

Also written: --unsafe-fixes

A ruff fix that might change behavior, so ruff only applies it with `--fix --unsafe-fixes`. Check the result and run the tests.

Where the book teaches it

Related terms

ruff