ci: add qodana (#1052)

This commit is contained in:
ReenigneArcher
2023-03-21 15:37:36 -04:00
committed by GitHub
parent a192c504cd
commit 744b54ffd4
3 changed files with 304 additions and 0 deletions

29
qodana-python.yaml Normal file
View File

@@ -0,0 +1,29 @@
---
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