Skip to main content

Adds COBOL support to pyqode.core

Project description

https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png

Latest PyPI version Number of PyPI downloads https://img.shields.io/pypi/l/pyqode.cobol.svg Travis-CI build status Coverage Status

About

pyqode.cobol adds COBOL support to pyQode (code completion, code folding,…).

Features:

  • cobol code completion provider based on the cobol keywords and the defined names of the current document (pic fields, paragraphes)

  • code folding mode

  • auto indent mode (after struct, paragraph or inside procedures)

  • native (fast) syntax highlighter with pygments themes support.

  • document outline widget

License

pyqode.cobol is licensed under the GPL v3.

Requirements

pyqode.python depends on the following libraries:

  • python 3 (>= 3.2)

  • pyqode.core

Installation

$ pip3 install pyqode.cobol --upgrade

Testing

pyqode.core has a test suite and measure its coverage.

To run the tests, just run python setup.py test

To measure coverage, run:

python3 setup.py test -a "--cov pyqode"

To check for PEP8 warnings, install pytest-pep8 and run:

python3 setup.py test -a "--pep8 -m pep8"

To run a single test, use -a "-- test_file_path.py::test_function", e.g.:

python3 setup.py test -a "-- test/test_api/test_code_edit.py::test_set_plain_text"

Testing Matrix

We test the following combinations on Travis-CI:

PyQt4

PyQt5

GNU/Linux - Python 3.4

yes

yes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqode.cobol-2.11.0.tar.gz (60.0 kB view details)

Uploaded Source

Built Distribution

pyqode.cobol-2.11.0-py2.py3-none-any.whl (70.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyqode.cobol-2.11.0.tar.gz.

File metadata

File hashes

Hashes for pyqode.cobol-2.11.0.tar.gz
Algorithm Hash digest
SHA256 ada3240c6567eb1a9de4689b4a2105d9b053941dec19b69aa8ff5486e5ca7429
MD5 34672c8e5944d9c6e5f7a433bc7bc489
BLAKE2b-256 8222e47f960957520b8f083b1cb9e4653f7754d1df63fd27111ddef1cf729c2b

See more details on using hashes here.

File details

Details for the file pyqode.cobol-2.11.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyqode.cobol-2.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 83c26caebf618961bb884faed6ae19237be11e045673cfcfbc9c11574e34a370
MD5 5c6274b719e7ecff7a83278e05fa51f2
BLAKE2b-256 fa289ecfc6b19e62cbbcf3da511d136eb6130dd9673b90e55ce1c12f7ea9932d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page