Skip to main content

Syntax checker for python using inotify

Project description

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

Release History

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.

Files for icheck, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size icheck-1.1.tar.bz2 (4.4 kB) File type Source Python version None Upload date Hashes View
Filename, size icheck-1.1.zip (6.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page