Skip to content

Commit 935afec

Browse files
authored
Merge pull request #17 from clintonsteiner/patch-1
Update README.md, deprecate python3.7, fix typo in example, and updat…
2 parents d203942 + 7baf5bd commit 935afec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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
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

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
description: 'The version of python to use'
2222
required: false
2323
default: '3.10'
24-
choices: ['3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
24+
choices: ['3.12', '3.11', '3.10', '3.9', '3.8']
2525
ruff-version:
2626
description: 'The version of ruff to use'
2727
required: false

0 commit comments

Comments
 (0)