]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - lgtm.yml
Merge pull request #14021 from Habbie/auth-lua-join-whitespace
[thirdparty/pdns.git] / lgtm.yml
index fc6802ac4aaa9bac86974bb58943b235c80680fa..67929165e2586cf814b823bddcfb3a1d28cfdf93 100644 (file)
--- a/lgtm.yml
+++ b/lgtm.yml
@@ -23,6 +23,9 @@ extraction:
       - "sed -i 's/codedocs docs//' Makefile.am"
       - "autoreconf -vi"
       - "./configure --with-modules='bind gsqlite3 gmysql gpgsql ldap'"
+      - "pushd pdns"
+      - "touch .venv api-swagger.yaml api-swagger.json"
+      - "popd"
     index:
       build_command:
       - "pushd pdns/dnsdistdist"
@@ -35,11 +38,3 @@ extraction:
   python:
     python_setup:
       version: 3
-    after_prepare:
-      - python3 -m pip install --upgrade --user flake8
-    before_index:
-      - python3 -m flake8 --version  # flake8 3.6.0 on CPython 3.6.5 on Linux
-      # stop the build if there are Python syntax errors or undefined names
-      - python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
-      # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
-      - python3 -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics