1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

update docs

This commit is contained in:
Kelly Brazil
2019-11-11 18:30:46 -08:00
parent 363fd3eab4
commit 146e29f7cb
47 changed files with 5370 additions and 2233 deletions

View File

@ -4,6 +4,8 @@ import sys
def warning_message(message):
"""Prints a warning message for non-fatal issues"""
error_string = f'''
jc: Warning - {message}
'''
@ -11,6 +13,8 @@ def warning_message(message):
def error_message(message):
"""Prints an error message for fatal issues"""
error_string = f'''
jc: Error - {message}
'''
@ -18,8 +22,11 @@ def error_message(message):
def compatibility(mod_name, compatible):
"""
compatible options: linux, darwin, cygwin, win32, aix, freebsd
"""Checks for the parser's compatibility with the running OS platform.
compatible options:
linux, darwin, cygwin, win32, aix, freebsd
"""
if sys.platform not in compatible:
mod = mod_name.split('.')[-1]