mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
linter update & django update
This commit is contained in:
parent
ba8fa20737
commit
119d874e85
2 changed files with 9 additions and 4 deletions
11
.github/workflows/linter.yml
vendored
11
.github/workflows/linter.yml
vendored
|
@ -32,10 +32,15 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
if [ -f dev/requirements.txt ]; then pip3 install -r dev/requirements.txt; fi
|
if [ -f dev/requirements.txt ]; then pip3 install -r dev/requirements.txt; else pip3 install -r conf/requirements.txt; fi
|
||||||
- name: Super-Linter
|
################################
|
||||||
uses: docker://github/super-linter:v3.3.2
|
# Run Linter against code base #
|
||||||
|
################################
|
||||||
|
- name: Lint Code Base
|
||||||
|
uses: docker://github/super-linter:latest
|
||||||
env:
|
env:
|
||||||
|
FILTER_REGEX_EXCLUDE: .*[static|scss]/.*
|
||||||
|
DEFAULT_BRANCH: master
|
||||||
VALIDATE_ANSIBLE: false
|
VALIDATE_ANSIBLE: false
|
||||||
VALIDATE_CLOJURE: false
|
VALIDATE_CLOJURE: false
|
||||||
VALIDATE_COFFEE: false
|
VALIDATE_COFFEE: false
|
||||||
|
|
|
@ -2,7 +2,7 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
env:
|
env:
|
||||||
- DJANGO=2.2.14
|
- DJANGO=2.2.16
|
||||||
install:
|
install:
|
||||||
- pip install -r dev/requirements.txt
|
- pip install -r dev/requirements.txt
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue