Fix CI: Update how pylint and mypy look for files
This commit is contained in:
parent
066c874734
commit
83a7c7ad7d
1 changed files with 3 additions and 4 deletions
|
@ -4,7 +4,7 @@ before_script:
|
|||
- python --version
|
||||
- python -m pip install --upgrade pip
|
||||
- pip install -r requirements.txt
|
||||
|
||||
|
||||
stages:
|
||||
- lint&test
|
||||
- upload
|
||||
|
@ -21,14 +21,13 @@ mypy:
|
|||
stage: lint&test
|
||||
script:
|
||||
- pip install -r dev_requirements.txt
|
||||
- python -m mypy src/main/python/ddadevops/*.py --ignore-missing-imports
|
||||
- python -m mypy src/main/python/ddadevops/*/*.py --ignore-missing-imports
|
||||
- python -m mypy src/ --ignore-missing-imports
|
||||
|
||||
pylint:
|
||||
stage: lint&test
|
||||
script:
|
||||
- pip install -r dev_requirements.txt
|
||||
- pylint -d C0301,W0614,C0114,C0115,C0116,similarities,W0702,W0702,R0913,R0902,R0914,R1732 src/main/python/ddadevops/*.py
|
||||
- pylint -d C0301,W0614,C0114,C0115,C0116,similarities,W0702,W0702,R0913,R0902,R0914,R1732 src/
|
||||
|
||||
pytest:
|
||||
stage: lint&test
|
||||
|
|
Loading…
Reference in a new issue