Skip to main content

Syntax checker for python using inotify

Project description

======
icheck
======

quick (or not so quick) and dirty tool to run syntax checking on python code
in a seperate screen window

features
---------
* Call a command on syntax failures
* terminal bell
* filter files by hashbang and globs
* color output with tty detection
* multiple output formats (oneline, short and long)


This program was mainly written to assit me in devlopeing python code and
letting me know a couple of seconds before i try and run my program that there
are basic syntax mistakes in the code.

to achive this inotify is used to wait for files to be written to and then if
all pre conditions are fine (globs and hashbangs) then a syntax check is
excuted. on an error a message is printed and it moves on to the next file

By using the 'bell' facility the window running icheck does not have to be
visible to the programmer and isntead a message will be printed in the message
line on error indicating attention may be required, allowing screen to be used
as the windowing component of a fleixble IDE setup



.. :changelog:

Release History
---------------

1.2.1 (2014-10-20)
++++++++++++++++

**Bug Fixes**

- Fix packaging again and convert to module, now installs corectly

1.2 (2014-10-20)
++++++++++++++++

**Bug Fixes**

- Fix packaging so setup.py is included again

1.1 (2014-10-20)
++++++++++++++++

- Chnagelog now appended to project description

**Bug Fixes**

- Fixed (one) race condition on checking hashbang
- Fixed up entry point to eat stack trace on Keyboard Interupt

1.0 (2014-10-19)
++++++++++++++++

- Inital Release

Project details


Download files

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

Source Distributions

icheck-1.2.1.zip (8.4 kB view hashes)

Uploaded Source

icheck-1.2.1.tar.bz2 (5.3 kB view hashes)

Uploaded Source

Built Distribution

icheck-1.2.1-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 2 Python 3

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