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
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)
icheck-1.2.1.tar.bz2
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for icheck-1.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec205e96ed45600079c9c2e34cbfeb8e0b7d884d7c0e2dc8942bb41ab9da2a7 |
|
MD5 | 1170d4c82a0e55d57ff54eaaa4afc578 |
|
BLAKE2b-256 | ce5b409247d7ab65772ba69b116c2d36f80c8a65f14cd13b0e37ff46be6e54aa |