Skip to content

ancho85/pylint-playero-plugin

Repository files navigation

pylint-playero-plugin

status Build Status Coverage Status

About

pylint-playero-plugin is a Pylint plugin for improving code analysis for when analysing code using Playero ERP.

Usage

Pylint

Ensure pylint-playero-plugin is installed and on your path, and then run pylint:

pylint --load-plugins Playero [..other options..]

Read the wiki for usage with SublimeText

Features

  • Prevents warnings and errors about Playero-generated attributes, classes, methods. (Now fully supported)
  • Xml record file parsing to get attributes of a table/class.
  • Py file parsing to get methods, functions and attributes of a class.
  • Inheritance is generated based on Playero's xml settings file.
  • built-in methods, functions and attributes accepted. (Now fully supported)
  • SuperClass generation.
  • NewRecord, NewReport, NewWindow generation.
  • Query parsing and checking for syntax

License

pylint-playero-plugin is available under the GPLv2 license.

Required

  • logilab-common==0.61.0
  • astroid==1.1.1
  • pylint-1.0.0

Required to check mysql syntax:

  • pyparsing-2.0.2
  • MySQL-python-1.2.5