Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattvonrocketstein/kinbaku
examples, use cases, and patterns for rope, a library for automatically refactoring python code
https://github.com/mattvonrocketstein/kinbaku
Last synced: 26 days ago
JSON representation
examples, use cases, and patterns for rope, a library for automatically refactoring python code
- Host: GitHub
- URL: https://github.com/mattvonrocketstein/kinbaku
- Owner: mattvonrocketstein
- Created: 2011-01-27T13:41:31.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2014-11-03T03:34:59.000Z (about 10 years ago)
- Last Synced: 2024-10-20T01:51:36.813Z (3 months ago)
- Language: Python
- Homepage: http://programming.zgct.org/TRACI/wiki/Projects/Kinbaku/UseCases
- Size: 310 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
$ kinbaku help
clean [imports | pep8 | whitespace]
kinbaku clean imports [] []
cleans and reorganizes module imports for file @fpath,
displaying result on stdout. pass the --changes flag
to see only the import lines and not the whole file.
kinbaku clean pep8
pep8ify's file a @fpath, displaying result on stdout
kinbaku clean whitespace
trims trailing whitespace (newlines are untouched)config [keys | set | show | wipe]
kinbaku config keys
show all keys in config dictionary
kinbaku config set
set a value in kinbaku's persistent configuration
kinbaku config show []
display current configuration
kinbaku config wipe
destroys all of the persistent settingsscope [generate]
kinbaku scope generate
Generates empty unittests from project at @input_file_or_dir.
If input is a single file, the result will be sent to stdout.comments [extract | ratio]
kinbaku comments extract [] []
extract comments, organized by container.
if --docstrings is True, only docstring-style comments will be displayed.
if --comments is True, only hash-mark style comments will be displayed.
default is to show both.
kinbaku comments ratio
extract comment:code ratiosrun [cvg | trace]
kinbaku run cvg [] [] [] []
runs coverage on :
when lines is True, will show lines that are missing
from coverage. when "containers" is True, will show
methods or classes that are missing from coverage.
if "exclude" is given, then filenames not matching
will not be included in the output.
kinbaku run trace []
dynamically analyze programs IO trafficcodebase [errors | files | messages | names | search | shell | stats | validate]
kinbaku codebase errors
No documentation yet.
kinbaku codebase files []
returns a list path() objects
kinbaku codebase messages []
messages from pyflakes: prints message type, file, and pyflakes error to stdout
kinbaku codebase names
shows all names in codebase, sorted by file (AST walker)
kinbaku codebase search
only searches python names
kinbaku codebase stats
Show various statistics for the codebase given codebase.
Currently, supported metrics include: file count (all files,
just python files), line count word summary (only words that
are statistically unlikely) valid booleans for each file
Coming soon: comment/code ratio, average lines per file,
average imports per file, total number of classes,
functions
kinbaku codebase validate
validate file