Default to ruff-version from pyproject.toml (#30)

Closes: #9 

Changes the default behavior to:

- Search for a pyproject.toml in the repo root
- Search in project.dependencies and dependency-groups.dev for ruff
- If none is found use latest

Support for requirements.txt files can be added later
This commit is contained in:
Kevin Stillhammer
2024-12-23 11:07:46 +01:00
committed by GitHub
parent cac2f108b2
commit 7a82f1f7e4
15 changed files with 4335 additions and 53 deletions
+2 -1
View File
@@ -25,7 +25,8 @@
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@actions/tool-cache": "^2.0.1"
"@actions/tool-cache": "^2.0.1",
"toml": "^3.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",