We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89a81d commit 7565a8bCopy full SHA for 7565a8b
.github/workflows/ci.yaml
@@ -20,7 +20,7 @@ jobs:
20
version: "latest"
21
22
- name: Install Python dependencies
23
- run: pip install black flake8 pylint
+ run: pip install anybadge black flake8 pylint
24
25
- name: Run linters
26
uses: wearerequired/lint-action@v2
@@ -31,4 +31,7 @@ jobs:
31
32
- name: Analysing the code with pylint
33
run: |
34
- uv run pylint $(git ls-files '*.py')
+ uv run pylint --output-format=text ./**/*.py | tee pylint.txt
35
+ score="$(sed -n "/^Your code has been rated at/{s,.* at \([0-9\.]*\)\/.*,\1,p}" pylint.txt)"
36
+ uv run anybadge --label pylint --value "$score" --file="pylint.svg" --overwrite
37
+
0 commit comments