Bowler
Bowler copied to clipboard
Safe code refactoring for modern Python.
Currently, Bowler does not support renames of modules that involve changing their parent import path. Eg, "some.path" -> "some.path2" is easy with `.rename()`, but "some.long.path" -> "shorter.path" isn't yet supported....
There are quite a few, and they deserve a place in the API reference.
bowler/tests/lib.py: switch from volatile back to tempfile The volatile project is unmaintained. Use tempfile module, which provides similar functionality. See also: [3664c3f145a819ddd1f5d5e39df86a4f34c4f3f2](https://github.com/facebookincubator/Bowler/commit/3664c3f145a819ddd1f5d5e39df86a4f34c4f3f2)
The important parts are: - `refactor_file` adds a newline. it doesn't take it away, because - `refactor_file` calls `processed_file` which does an ast re-parse - `apply_hunks` has at least two...
Enables pessimist on CI so it should be more difficult to get into this state in the future.
👋 team, I am working on DocSearch. [We have an integration for Docusaurus](https://docusaurus.io/docs/en/search#enabling-the-search-bar). We thought it is a shame you can not also used this search that you can [find...
Add a link to Bowler's demo video inside README [](https://asciinema.org/a/txpYgkb4tdQxvK2od9evzlVov)