Skip to content

Commit

Permalink
[pypi] change python version to supported and add ruff linter
Browse files Browse the repository at this point in the history
  • Loading branch information
zbowling committed Jul 30, 2024
1 parent 9f1705f commit 7e8789d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Lint and check
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: chartboost/ruff-action@v1
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
- name: "Checkout code"
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.9"

- name: Setup pdm
uses: pdm-project/setup-pdm@v3
with:
python-version: "3.12"
python-version: "3.9"

- name: Build package
run: pdm build
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintainers = [
description = "Stacked PRs for GitHub."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
requires-python = ">=3.9"
keywords = ["stacked-prs", "github", "pull-requests", "stack-pr", "git", "version-control"]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 7e8789d

Please sign in to comment.