Skip to content

Conda environment providing tools for formatting Python code.

Notifications You must be signed in to change notification settings

kh296/code-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

code-tools

Conda environment providing tools for formatting, profiling, and testing Python code, and for counting lines of code.

# -i : make changes to file in place.
# --max-line-length : maximum line length.
# -a : enable agressive (non-whitespace) changes; repeat to increase agression.
autopep8 -i --max-line-length 80 -a -a <file>
# -l : maximum line length.
black -l 80 <file_or_directory>
pylint <module_or_package>
pygount --format=summary <file_or_directory>
pytest [file_or_directory]
pytest --cov=<path_to_package> <path_to_tests>
python -m cProfile [-o output_file] <python_script>
snakeviz <cProfile_output_file>

About

Conda environment providing tools for formatting Python code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published