# py3kwarn [][travis]
py3kwarn is a small wrapper around lib2to3 to help write Python3 compatible code. It provides flake8-style warning messages.
Currently requires Python 2.7+.
See the [lib2to3][lib2to3] documentation for information on warning messages.
Pull requests are welcome!
## Usage
py3kwarn test.py
## Usage with vim
To use with vim, check out [my syntastic fork][my-fork] which adds py3kwarn as a syntax checker for python. If you want to use py3kwarn and syntastic with another syntax checker (like flake8), then you will have to add let g:syntastic_python_checkers=[‘flake8’, ‘py3kwarn’] to your vim config.
## TODO
An option for friendlier messages would be nice.
[A flake8 extension][flake8-ext].
Use argparse to add some smarter options.
Better docs
Make it work with Python 2.6
[my-fork]: https://github.com/liamcurry/syntastic/tree/py3kwarn [travis]: https://travis-ci.org/liamcurry/py3kwarn [flake8-ext]: http://flake8.readthedocs.org/en/latest/extensions.html [lib2to3]: http://docs.python.org/2.6/library/2to3.html#fixers
Metadata
Release files for py3kwarn 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py3kwarn-0.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py3kwarn-0.1.macosx-10.8-intel.exe | Details |
Total release size: 71.7 kB
Release files / py3kwarn-0.1.tar.gz
| Download URL | py3kwarn-0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87dd072358cc51558b5ed222651a3f05b361f9ca65036ffabc3a54fe05dea8d1
|
|
BLAKE2b-256 checksum How to use checksums |
06c14b963a1a4e8cbcd898f991d25e9ea3cf7a9ef80231ae75768042155a08f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / py3kwarn-0.1.macosx-10.8-intel.exe
| Download URL | py3kwarn-0.1.macosx-10.8-intel.exe |
|---|---|
| Size | 67.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35af445371bde903a71d58273c8f1dc252e096fbc729ae21f1571de088006540
|
|
BLAKE2b-256 checksum How to use checksums |
cd350d57ca1a6238a1438aa2c841fd2ec04e7013377dd96166d7e7c426d743d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |