forked from extern/django-helpdesk
Merge pull request #1032 from martin-marty/github-workflow-tools
GitHub workflow tools
This commit is contained in:
commit
8bb357fa90
7
.flake8
7
.flake8
@ -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
|
||||
|
||||
|
4
.github/workflows/pythonpackage.yml
vendored
4
.github/workflows/pythonpackage.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user