Skip to content

Commit 847803b

Browse files
committed
Use Flake8 for ./src folder
1 parent 39e3ede commit 847803b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install -r requirements-dev.txt
2424
pip install robotframework==${{ matrix.rf-version }}
25+
- name: Run flake8
26+
run: |
27+
flake8 --max-line-length=110 src/
2528
- name: Run unit tests
2629
run: |
2730
python utest/run.py

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest
22
pytest-cov
33
robotstatuschecker
4+
flake8

src/robotlibcore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
def keyword(name=None, tags=()):
2929
if callable(name):
3030
return keyword()(name)
31+
3132
def decorator(func):
3233
func.robot_name = name
3334
func.robot_tags = tags

0 commit comments

Comments
 (0)