Skip to content

Commit 1961ac5

Browse files
Update README.md, deprecate python3.7, fix typo in example, and update pinned ruff version in case of usage
1 parent d203942 commit 1961ac5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This Action and Python script lets you run one of several Python linters and typ
2020

2121
## Requirements
2222

23-
- Python 3.7 or higher (3.8 or higher for MacOS on GitHub hosted runners)
23+
- Python 3.8 or higher (3.8 or higher for MacOS on GitHub hosted runners)
2424
- For Pytype, Python 3.10 or lower
2525
- For Fixit, Python 3.8 or higher
2626
- GitHub Actions
@@ -74,7 +74,7 @@ jobs:
7474
runs-on: ubuntu-latest
7575
strategy:
7676
matrix:
77-
python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
77+
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
7878
steps:
7979
- uses: advanced-security/python-lint-code-scanning-action@v1
8080
with:
@@ -91,7 +91,7 @@ jobs:
9191
lint:
9292
runs-on: ubuntu-latest
9393
steps:
94-
- run: python3 -mpip install flake8-bugbear
94+
- run: python3 -m pip install flake8-bugbear
9595
- uses: advanced-security/python-lint-code-scanning-action@v1
9696
with:
9797
linter: flake8
@@ -110,7 +110,7 @@ jobs:
110110
- uses: advanced-security/python-lint-code-scanning-action@v1
111111
with:
112112
linter: ruff
113-
ruff-version: "0.0.257"
113+
ruff-version: "0.7.2"
114114
```
115115
116116
### Command line usage

0 commit comments

Comments
 (0)