https://github.com/j-zhengli/lint-info-extractor
Extract information about every rust lints
https://github.com/j-zhengli/lint-info-extractor
Last synced: 2 months ago
JSON representation
Extract information about every rust lints
- Host: GitHub
- URL: https://github.com/j-zhengli/lint-info-extractor
- Owner: J-ZhengLi
- License: mit
- Created: 2023-08-03T08:13:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T08:34:18.000Z (almost 2 years ago)
- Last Synced: 2025-02-08T23:13:03.255Z (4 months ago)
- Language: Python
- Homepage:
- Size: 1.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lint-info-extractor
Extract information about every rust lintsI don't know why... But apparently someone needs this.
## Description
Automatically pulls rust source code, and extract every lint information (including rustc and clippy lints). Then translate their summary as required, and output the result in excel format.

## Requirement
1. required python packages:
- mistune (for converting markdown to html)
- beautifulsoup (for parsing converted html)
- translate-api (for translating English into other languages)
- pandas, openpyxl (for exporting result as excel sheet)
```bash
pip install mistune, beautifulsoup4, translators, pandas, openpyxl
```- **Optional** Jinja2 (for excel sheet styling)
```bash
pip install jinja2
```## Usage
```bash
python3 run.py
```check `python3 run.py --help` for more usage