LatvianPython/pyoracle_forms

View on GitHub
fix fix docs #128
LatvianPython authored 269433c9
complete00:00:33
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
7
radon
radon engine documentation
View output
Running radon3...
8
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 32 files indexed
ERROR: Unable to parse file: /code/pyoracle_forms/misc.py
ERROR: Parse error at line 44 column 18:

   40: import Module
   41:     from . import Library
   42: 
   43: objects = Union[Type["Module"], Type["Library"], Type[GenericObject]]
  -->  registered_objects: Dict[str, objects] = {}
   45: 
   46: 
   47: class ObjectProperties(enum.Enum):
   48:     canvases = "D2FP_CANVAS"
   49:     alerts = "D2FP_ALERT"
   50:     attached_libraries

ERROR: Unable to parse file: /code/pyoracle_forms/generic_object.py
ERROR: Parse error at line 72 column 15:

   64: 3
   65:     OBJECT = 4
   66: 
   67: 
   68: PropertyTypes = Union[bool, int, str, bytes, "BaseObject", c_void_p]
   69: 
   70: 
   71: class BaseObject:
  -->      object_type: FormsObjects
   73:     _object_number: Optional[int]
   74:     _as_parameter_: c_void_p
   75: 
   76:     def __init__(
   77:         self, generic_object: Union[c_void_p, BaseObject, GenericObject]
   78:     )

ERROR: Unable to parse file: /code/pyoracle_forms/forms_api.py
ERROR: Parse error at line 38 column 17:

   36: Path(__file__).parent / "forms_api" / f"parsed_{version}.json"
   37:     with open(file_path, mode="r", encoding="utf-8") as file:
  -->          json_data: Dict = json.load(file)                
   39:     return json_data
   40: EOF

ERROR: Unable to parse file: /code/pyoracle_forms/context.py
ERROR: Parse error at line 34 column 11:

   30: = Union[Type[c_void_p], Type[c_bool], Type[c_int], Type["String"]]
   31: 
   32: 
   33: class Context:
  -->      version: str
   35:     encoding: str
   36:     api: Optional[CDLL]
   37:     free: Optional[_FuncPointer]
   38: 
   39:     def __init__(self) -> None:

ERROR: Unable to parse file: /code/pyoracle_forms/forms_objects.py
ERROR: Parse error at line 41 column 15:

   35: 
   36:     object_type = FormsObjects.module
   37: 
   38:     name = Text("NAME")
   39:     comments = Text("COMMENT")
   40:     console_window = Text("CONSOLE_WIN")
  -->      cursor_mode: Constant[CursorMode] = Constant("CRSR_MODE", CursorMode)
   42:     direction: Constant[Direction] = Constant("LANG_DIR", Direction)
   43:     first_navigation_data_block = Text

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.678s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------