@@ -13,6 +13,7 @@ This Action and Python script lets you run one of several Python linters and typ
1313- [ Pytype] ( https://github.com/google/pytype/ ) - for Python 3.10 and below
1414- [ Pyright] ( https://github.com/microsoft/pyright )
1515- [ Fixit 2] ( https://fixit.readthedocs.io/en/stable/ ) - for Python 3.8 and above
16+ - [ Pyre] ( https://pyre-check.org/ )
1617
1718## Requirements
1819
@@ -37,7 +38,7 @@ Then run the linter:
3738python3 ./python_lint.py < linter> [< linter> ...] [< options> ]
3839```
3940
40- The linter/type checker can be one or more of ` flake8 ` , ` pylint ` , ` ruff ` , ` mypy ` , ` pytype ` , ` pyright ` , ` fixit ` .
41+ The linter/type checker can be one or more of ` flake8 ` , ` pylint ` , ` ruff ` , ` mypy ` , ` pytype ` , ` pyright ` , ` fixit ` , ` pyre ` .
4142
4243### Action
4344
6566 runs-on : ubuntu-latest
6667 strategy :
6768 matrix :
68- linter : [flake8, pylint, ruff, mypy, pytype, pyright, fixit]
69+ linter : [flake8, pylint, ruff, mypy, pytype, pyright, fixit, pyre ]
6970 steps :
7071 - use : advanced-security/python-lint-code-scanning-action@v1
7172 with :
@@ -113,7 +114,6 @@ jobs:
113114 lint :
114115 runs-on : ubuntu-latest
115116 steps :
116- - run : python3 -mpip install flake8-bugbear
117117 - use : advanced-security/python-lint-code-scanning-action@v1
118118 with :
119119 linter : ruff
0 commit comments