Skip to content

Commit 6d55a01

Browse files
committed
Fix ruff version in pyproject & source action version from it
1 parent c19fc13 commit 6d55a01

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ruff.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ jobs:
1010
uses: actions/checkout@v6
1111
- uses: astral-sh/ruff-action@v4.0.0
1212
# https://github.com/astral-sh/ruff-action
13+
with:
14+
version-file: "./pyproject.toml"

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ test = [
7878
'packaging',
7979
]
8080
lint = [
81-
"flake8",
82-
"Flake8-pyproject",
81+
"ruff~=0.15.15",
8382
]
8483
all = ["pvlib[optional,doc,test,lint]"]
8584

0 commit comments

Comments
 (0)