Option C Tools
Loading...
Searching...
No Matches
new_python_file.py File Reference

Go to the source code of this file.

Namespaces

namespace  new_python_file

Functions

str new_python_file._make_header (str rel_posix)
str new_python_file._derive_import_path (str rel_posix)
None new_python_file._print_content (str label, str content)
 new_python_file.create_new_file (Path project_root, str path, bool force, bool dry_run=False, bool test=False, bool verbose=False)

Variables

str new_python_file.SHEBANG = "#!/usr/bin/env python3"
str new_python_file.ENCODING = "# -*- coding: utf-8 -*-"
str new_python_file.IMPORT_BLOCK = "from oc_diagnostics import _dbg\n\n"
str new_python_file.DOCSTRING_TEMPLATE
str new_python_file.TEST_DOCSTRING_TEMPLATE
str new_python_file.TEST_BODY_TEMPLATE