Skip to content

Commit f612b30

Browse files
Merge pull request #102 from microsoft/psl-pylint-fix
Researcher | Client Advisor - Lint issues fixes
2 parents 82ee56b + 5657c37 commit f612b30

File tree

15 files changed

+713
-528
lines changed

15 files changed

+713
-528
lines changed

.github/workflows/pylint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Pylint
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.11"]
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install -r ClientAdvisor/App/requirements.txt
21+
- name: Run flake8
22+
run: flake8 --config=ClientAdvisor/App/.flake8 ClientAdvisor/App

ClientAdvisor/App/.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
max-line-length = 88
3+
extend-ignore = E501, E203
4+
exclude = .venv, frontend,

0 commit comments

Comments
 (0)