Skip to content

Commit

Permalink
Update lintrunner requirements (#22185)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
tianleiwu authored Sep 24, 2024
1 parent a7c9f27 commit 0806879
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Coding_Conventions_and_Standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 3 additions & 1 deletion requirements-lintrunner.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0806879

Please sign in to comment.