Fix CI: Update how pylint and mypy look for files

This commit is contained in:
erik 2023-04-20 16:48:59 +02:00
parent 066c874734
commit 83a7c7ad7d

View file

@ -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