Skip to content

Commit

Permalink
python ci finalized
Browse files Browse the repository at this point in the history
  • Loading branch information
aykutaaykut committed Jul 11, 2023
1 parent 3b3de4e commit f4654fa
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/backend-static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ jobs:
with:
python-version: "3.10"

- name: Upgrade pip
run: pip3 install --upgrade pip
- name: Upgrade pip and install packages
run: |
pip3 install --upgrade pip
pip3 install -r ./backend/requirements.dev.txt
- name: Format with Black
run: |
pip3 install black~=23.3.0
pwd
black --config=./backend/pyproject.toml --preview --check ./backend
run: black --config=./backend/pyproject.toml --preview --check ./backend

- name: Lint with Flake8
run: |
pip3 install flake8~=6.0.0
flake8 --config=./backend/.flake8 ./backend
run: flake8 --config=./backend/.flake8 ./backend

0 comments on commit f4654fa

Please sign in to comment.