A simple utility tool to detect non-English comments in code
Project description
*****
PulpFiction
*****
.. image:: ./images/jules.png
*English, *****! Do you speak it?*
A simple tool to detect non-English commments in a code base (directory).
Inspired by the fictional character, `Jules Winnfield, played by Samuel L Jackson in the film, Pulp Fiction`__.
.. __: https://www.urbandictionary.com/define.php?term=Jules%20Winnfield
Install
#######
.. code-block:: bash
# requires Python3
$ pip install pulpfiction
Usage
#####
.. code-block:: bash
$ jules --help
Usage: jules [OPTIONS]
Simple tool to detect non-English commments in a code base..
Options:
--path TEXT path to project or repository
--help Show this message and exit.
.. code-block:: bash
# by default, it looks at the current directory or $PWD
# alternatively,
$ jules --path=~/personal/my-awesome-git-project
Script exits with `sys.exit(0)` if successful, else the earliest invalid comment is found and raised.
Known Issues
############
- Commented-out code will be considered non-English; false positive.
PulpFiction
*****
.. image:: ./images/jules.png
*English, *****! Do you speak it?*
A simple tool to detect non-English commments in a code base (directory).
Inspired by the fictional character, `Jules Winnfield, played by Samuel L Jackson in the film, Pulp Fiction`__.
.. __: https://www.urbandictionary.com/define.php?term=Jules%20Winnfield
Install
#######
.. code-block:: bash
# requires Python3
$ pip install pulpfiction
Usage
#####
.. code-block:: bash
$ jules --help
Usage: jules [OPTIONS]
Simple tool to detect non-English commments in a code base..
Options:
--path TEXT path to project or repository
--help Show this message and exit.
.. code-block:: bash
# by default, it looks at the current directory or $PWD
# alternatively,
$ jules --path=~/personal/my-awesome-git-project
Script exits with `sys.exit(0)` if successful, else the earliest invalid comment is found and raised.
Known Issues
############
- Commented-out code will be considered non-English; false positive.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pulpfiction-0.3.0.tar.gz
(4.1 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pulpfiction-0.3.0-py3.5.egg
(20.0 kB
view details)
File details
Details for the file pulpfiction-0.3.0.tar.gz.
File metadata
- Download URL: pulpfiction-0.3.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a65b9710fc53a630d9f4fdc84037d77877667e49db2e0890b53788f3fd585c96
|
|
| MD5 |
0391be4d5435563b069bfe0cd0ea9c9d
|
|
| BLAKE2b-256 |
a52d1744f6eefd5f1ecf1390bc47c2792b82e2033edb0fdfe5f7eb10ce6d5946
|
File details
Details for the file pulpfiction-0.3.0-py3.5.egg.
File metadata
- Download URL: pulpfiction-0.3.0-py3.5.egg
- Upload date:
- Size: 20.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6db2d5d612db8341af081dcd65c09be7db912e561156b33a74456ee718f6070d
|
|
| MD5 |
d4b5bcaef6b18675b99bdb00105b0d22
|
|
| BLAKE2b-256 |
9ab86d5c06103b8a1b14b940a6944534bfdf8fa014f1d558c3e2fe23439e6d34
|
File details
Details for the file pulpfiction-0.3.0-py3-none-any.whl.
File metadata
- Download URL: pulpfiction-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a882be50d96912dba14c97f92178a2350a73f0f0b7377359ca98700196a17226
|
|
| MD5 |
2e426ed4b80e0d043ef133ea74809362
|
|
| BLAKE2b-256 |
3f9c606bf928d446a3f86df21fa624790c48d6110553de77763630eca0400ae7
|