Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/encukou/trojan_linter
https://github.com/encukou/trojan_linter
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/encukou/trojan_linter
- Owner: encukou
- License: mit
- Created: 2021-11-19T19:04:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-15T15:59:01.000Z (almost 3 years ago)
- Last Synced: 2024-10-08T16:28:53.285Z (30 days ago)
- Language: Python
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MIT
Awesome Lists containing this project
README
# trojan_linter
Checks Python source files for possible surprises related to Unicode,
such as those explained in [PEP 672].[PEP 672]: https://www.python.org/dev/peps/pep-0672/
## This is an early preview!
The tool might not do what you want it to do.
Feel free to report issues!## Installation
This package needs ICU development files installed on your system,
either findable with `pkg-config` or in default locations.If you have that, you can install it with:
pip install trojan_linter
## Use
and run with:
python -m trojan_linter FILENAME
Several filenames can be given.
If a directory is given, it is searched recursively for `*.py` files.## No API
This project doesn't have any stable Python API.
Use the command-line interface.## License
This project is released under the MIT license, see `LICENSE.MIT`.
May it serve you well.