Sunshine/qodana-python.yaml
2023-03-21 15:37:36 -04:00

30 lines
647 B
YAML

---
version: "1.0"
linter: jetbrains/qodana-python:2023.1-eap
bootstrap: |
# setup python
python3 -m venv /data/cache/venv
source /data/cache/venv/bin/activate
python3 -m pip install -r /data/project/docs/requirements.txt
python3 -m pip install -r /data/project/scripts/requirements.txt
# remove idea directory (No Python interpreter configured for the project)
# https://github.com/JetBrains/Qodana/discussions/134#discussioncomment-4329981
rm -rf .idea
exclude:
- name: All
paths:
- gh-pages
- third-party
failThreshold: 100
include:
- name: CheckDependencyLicenses
profile:
name: qodana.recommended