From 69c95adf701abe37d4f7aa03dd5dbf76395e5063 Mon Sep 17 00:00:00 2001 From: warre Date: Sun, 25 Feb 2024 16:58:52 +0100 Subject: [PATCH] fixed linter --- backend/project/__main__.py | 2 +- backend/pylintrc | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/project/__main__.py b/backend/project/__main__.py index 510e3bea..343e6af8 100644 --- a/backend/project/__main__.py +++ b/backend/project/__main__.py @@ -19,4 +19,4 @@ ) app = create_app_with_db(url) - app.run(debug=True) \ No newline at end of file + app.run(debug=True) diff --git a/backend/pylintrc b/backend/pylintrc index 83eff274..9150b9e2 100644 --- a/backend/pylintrc +++ b/backend/pylintrc @@ -1,10 +1,15 @@ [MASTER] init-hook='import sys; sys.path.append(".")' +[MESSAGES CONTROL] +disable=W0621, C0415 + + [test-files:*_test.py] disable= W0621, # Redefining name %r from outer scope (line %s) [modules:project/modules/*] disable= - R0903 # Too few public methods (modules don't require us to have public methods) + R0903, # Too few public methods (modules don't require us to have public methods) + C0415 # Import outside toplevel