Skip to content

Commit a5017b7

Browse files
author
Peng Ren
committed
Added flake8 in CI
1 parent afd8cdd commit a5017b7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ jobs:
6767
sleep 2
6868
done
6969
70+
- name: Check code style with flake8
71+
run: |
72+
flake8 pymongosql/ --count --max-line-length=127 --statistics
73+
7074
- name: Set up test database
7175
run: |
7276
echo "Setting up test database..."

requirements-test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ pymongo>=4.15.0
55
# Test dependencies
66
pytest>=7.0.0
77
pytest-cov>=4.0.0
8-
testcontainers[mongodb]>=3.7.0
8+
testcontainers[mongodb]>=3.7.0
9+
flake8>=6.0.0

0 commit comments

Comments
 (0)