Skip to content

Commit

Permalink
Merge pull request #9 from RytoEX/drop-py-37
Browse files Browse the repository at this point in the history
Drop Python 3.7 and support only Python 3.8+
  • Loading branch information
marian-code committed Mar 27, 2024
2 parents 2bd9006 + dd7a7f9 commit 14b73b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all-lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v4
- uses: marian-code/python-lint-annotate@master
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,17 @@ steps:
use-mypy: false
use-vulture: true
extra-pylint-options: "--output-format="colorized"
python-version: "3.7"
python-version: "3.8"
```

### Examples
* [Only lint changed files, and ignore missing docstrings](examples/actions-only_changed_files.yml)

## Details

Uses `actions/setup-python@v5`. Only python `3.7` - `3.10` version are tested since
they are by far most common now. Other python `3.x` versions should also work.

Uses `actions/setup-python@v5`. Only python `3.8` - `3.10` versions prior to `3.8`
are not tested since they are EOL now.
Any python `2.x` versions are unsupported! You can lint on Linux, Windows and MacOS.

The lintner versions are:
Expand Down Expand Up @@ -112,9 +113,9 @@ jobs:
use-pylint: false
use-flake8: false
use-vulture: true
python-version: "3.7"
python-version: "3.8"
- run: |
python --version # this will output 3.7 now !!!
python --version # this will output 3.8 now !!!
```

## License
Expand Down

0 comments on commit 14b73b5

Please sign in to comment.