@@ -13,6 +13,7 @@ This Action and Python script lets you run one of several Python linters and typ
13
13
- [ Pytype] ( https://github.com/google/pytype/ ) - for Python 3.10 and below
14
14
- [ Pyright] ( https://github.com/microsoft/pyright )
15
15
- [ Fixit 2] ( https://fixit.readthedocs.io/en/stable/ ) - for Python 3.8 and above
16
+ - [ Pyre] ( https://pyre-check.org/ )
16
17
17
18
## Requirements
18
19
@@ -37,7 +38,7 @@ Then run the linter:
37
38
python3 ./python_lint.py < linter> [< linter> ...] [< options> ]
38
39
```
39
40
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 ` .
41
42
42
43
### Action
43
44
65
66
runs-on : ubuntu-latest
66
67
strategy :
67
68
matrix :
68
- linter : [flake8, pylint, ruff, mypy, pytype, pyright, fixit]
69
+ linter : [flake8, pylint, ruff, mypy, pytype, pyright, fixit, pyre ]
69
70
steps :
70
71
- use : advanced-security/python-lint-code-scanning-action@v1
71
72
with :
@@ -113,7 +114,6 @@ jobs:
113
114
lint :
114
115
runs-on : ubuntu-latest
115
116
steps :
116
- - run : python3 -mpip install flake8-bugbear
117
117
- use : advanced-security/python-lint-code-scanning-action@v1
118
118
with :
119
119
linter : ruff
0 commit comments