From 429795ea44e7909e7514a184e45aac974eaffb9d Mon Sep 17 00:00:00 2001
From: Mart van Santen <mart@greenhost.nl>
Date: Mon, 6 Dec 2021 08:48:00 +0100
Subject: [PATCH] Try to fix linting with including moe requerments and pylint
 setting

---
 test/lint/pylint/Dockerfile       | 2 ++
 test/lint/pylint/pylintrc         | 3 +++
 test/lint/pylint/requirements.txt | 1 +
 3 files changed, 6 insertions(+)
 create mode 100644 test/lint/pylint/pylintrc

diff --git a/test/lint/pylint/Dockerfile b/test/lint/pylint/Dockerfile
index 4fcb3eb..7f78f0d 100644
--- a/test/lint/pylint/Dockerfile
+++ b/test/lint/pylint/Dockerfile
@@ -2,6 +2,8 @@ FROM python:3.10-alpine
 
 COPY requirements.txt /
 
+COPY pylintrc /root/.pylintrc
+
 RUN apk add --no-cache \
       build-base=0.5-r2 \
       git=2.34.1-r0 \
diff --git a/test/lint/pylint/pylintrc b/test/lint/pylint/pylintrc
new file mode 100644
index 0000000..0fd9caa
--- /dev/null
+++ b/test/lint/pylint/pylintrc
@@ -0,0 +1,3 @@
+
+[TYPECHECK]
+generated-members=app.logger
diff --git a/test/lint/pylint/requirements.txt b/test/lint/pylint/requirements.txt
index 6684ea0..080f093 100644
--- a/test/lint/pylint/requirements.txt
+++ b/test/lint/pylint/requirements.txt
@@ -3,3 +3,4 @@ pylint
 pylint-flask-sqlalchemy
 pylint-flask
 oic
+ory-kratos-client
-- 
GitLab