Merge pull request #1032 from martin-marty/github-workflow-tools

GitHub workflow tools
This commit is contained in:
Garret Wassermann 2022-07-22 02:24:06 -04:00 committed by GitHub
commit 8bb357fa90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -2,3 +2,10 @@
max-line-length = 120
exclude = .git,__pycache__,.tox,.eggs,*.egg,node_modules,.venv,migrations,docs,demo,tests,setup.py
import-order-style = pep8
[pycodestyle]
max-line-length = 120
exclude = "migrations"
in-place = true
recursive = true

View File

@ -20,6 +20,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-testing.txt -c constraints-Django32.txt
- name: Format style check with 'autopep8'
run: |
pip install autopep8
autopep8 --exit-code --global-config .flake8 helpdesk
# - name: Lint with flake8
# run: |
# pip install flake8