Update lintrunner requirements (#22185)

### Description
* Add lintrunner to requirements-lintrunner.txt
* Lock lintrunner and lintrunner-adapter version
* Update documentation

### Motivation and Context
The document is not up to date.
This commit is contained in:
Tianlei Wu 2024-09-23 18:27:16 -07:00 committed by GitHub
parent a7c9f27d2d
commit 0806879ad4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -155,7 +155,7 @@ Using `Show Code Coverage Coloring` will allow you to visually inspect which lin
This project uses [lintrunner](https://github.com/suo/lintrunner) for linting. It provides a consistent linting experience locally and in CI. You can install the dependencies and initialize with
```sh
pip install lintrunner lintrunner-adapters
pip install -r requirements-lintrunner.txt
lintrunner init
```

View file

@ -1,5 +1,7 @@
# This file is auto updated by dependabot
lintrunner-adapters>=0.12.4
# When any package below is changed, you shall run "lintrunner init" again.
lintrunner==0.12.5
lintrunner-adapters==0.12.4
# RUFF
ruff==0.5.4
# BLACK-ISORT