Skip to content

Commit

Permalink
comment out actions for flake 8 and import sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-peters committed Jul 17, 2024
1 parent 151aa24 commit 2e7c4a3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ jobs:
# pip install black
# # format the files with black
# black .
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Sort imports
run: |
pip install isort
# stop the build if there are Python syntax errors or undefined names
isort .
isort --check --diff .
# - name: Lint with flake8
# run: |
# pip install flake8
# # stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7 --show-source --statistics
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# - name: Sort imports
# run: |
# pip install isort
# # stop the build if there are Python syntax errors or undefined names
# isort .
# isort --check --diff .
- name: Build the images and start the containers
run: |
export GITHUB_WORKFLOW=True
Expand Down

0 comments on commit 2e7c4a3

Please sign in to comment.