Skip to content

Commit 72d4e7b

Browse files
committed
ci: add style check with black
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
1 parent a394ca0 commit 72d4e7b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pylint
1+
name: Linting
22

33
on: [push]
44

@@ -17,9 +17,12 @@ jobs:
1717
- name: Install dependencies
1818
run: >-
1919
python -m
20-
pip install pylint
20+
pip install pylint black
2121
--user
2222
23+
- name: Check coding style
24+
run: black --check tests uhubctl
25+
2326
- name: Analysing the code with pylint
2427
run: |
2528
find . -name '*.py' -exec pylint {} \;

0 commit comments

Comments
 (0)