MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / refactor_dir

Method refactor_dir

Lib/lib2to3/refactor.py:303–321  ·  view source on GitHub ↗

Descends down a directory and refactor every Python file found. Python files are assumed to have a .py extension. Files and subdirectories starting with '.' are skipped.

(self, dir_name, write=False, doctests_only=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

refactorMethod · 0.95
checkMethod · 0.80

Calls 6

log_debugMethod · 0.95
refactor_fileMethod · 0.95
walkMethod · 0.80
startswithMethod · 0.80
sortMethod · 0.45
joinMethod · 0.45

Tested by 1

checkMethod · 0.64