Skip to content

Commit ecb29b3

Browse files
authored
Pylint (#70)
1 parent 44a9fb3 commit ecb29b3

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
4646
- name: Mypy
4747
run: mypy
48+
- name: Pylint
49+
if: matrix.python-version != '3.11-dev'
50+
run: pylint --exit-zero main.py ibkr_report
4851
- name: Run tests with Coverage
4952
run: |
5053
coverage run -m unittest discover

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
4545
- name: Mypy
4646
run: mypy
47+
- name: Pylint
48+
if: matrix.python-version != '3.11-dev'
49+
run: pylint --exit-zero main.py ibkr_report
4750
- name: Run tests with Coverage
4851
run: |
4952
coverage run -m unittest discover

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ flake8==4.0.1
33
gcp-storage-emulator==2021.11.18
44
moto[s3]==2.2.15
55
mypy==0.910
6+
pylint==2.11.1

0 commit comments

Comments
 (0)