Skip to content

Commit dee94d1

Browse files
add ruff
1 parent 5cf6d4e commit dee94d1

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/static_analysis.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pylint
1+
name: Static Code Analysis
22

33
on: pull_request
44

@@ -40,3 +40,20 @@ jobs:
4040
4141
- name: Analysing the code with mypy
4242
run: mypy .
43+
44+
ruff:
45+
runs-on: ubuntu-latest
46+
47+
steps:
48+
- uses: actions/checkout@v4
49+
50+
- name: Set up Python 3.12
51+
uses: actions/setup-python@v3
52+
with:
53+
python-version: "3.12"
54+
- name: Install dependencies
55+
run: |
56+
python -m pip install --upgrade pip
57+
pip install ruff
58+
- name: Analysing the code with ruff
59+
run: ruff check --no-fix --output-format=github

0 commit comments

Comments
 (0)