[odrs-web] trivial: Ignore some pylint warnings
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] trivial: Ignore some pylint warnings
- Date: Wed, 16 Mar 2022 14:21:28 +0000 (UTC)
commit a0a3bfe4b1fd9f7f6897b77ab785afce5734f6cf
Author: Richard Hughes <richard hughsie com>
Date: Wed Mar 16 13:43:52 2022 +0000
trivial: Ignore some pylint warnings
app_data/odrs/__init__.py | 1 +
app_data/odrs/dbutils.py | 2 ++
app_data/odrs/tests/odrs_test.py | 2 +-
app_data/odrs/util.py | 2 ++
4 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/app_data/odrs/__init__.py b/app_data/odrs/__init__.py
index 2bd88f3..05009ee 100644
--- a/app_data/odrs/__init__.py
+++ b/app_data/odrs/__init__.py
@@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
#
# pylint: disable=invalid-name,missing-docstring,wrong-import-order,wrong-import-position
+# pylint: disable=import-outside-toplevel
#
# Copyright (C) 2015-2019 Richard Hughes <richard hughsie com>
#
diff --git a/app_data/odrs/dbutils.py b/app_data/odrs/dbutils.py
index 8be1831..6e3934e 100644
--- a/app_data/odrs/dbutils.py
+++ b/app_data/odrs/dbutils.py
@@ -3,6 +3,8 @@
#
# Copyright (C) 2015-2019 Richard Hughes <richard hughsie com>
#
+# pylint: disable=import-outside-toplevel
+#
# SPDX-License-Identifier: GPL-3.0+
def init_db(db):
diff --git a/app_data/odrs/tests/odrs_test.py b/app_data/odrs/tests/odrs_test.py
index 60c54d9..24e3f73 100644
--- a/app_data/odrs/tests/odrs_test.py
+++ b/app_data/odrs/tests/odrs_test.py
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: GPL-3.0+
#
# pylint: disable=fixme,too-many-public-methods,line-too-long,too-many-lines
-# pylint: disable=too-many-instance-attributes,wrong-import-position
+# pylint: disable=too-many-instance-attributes,wrong-import-position,import-outside-toplevel
import os
import json
diff --git a/app_data/odrs/util.py b/app_data/odrs/util.py
index 858de2d..bc13dad 100644
--- a/app_data/odrs/util.py
+++ b/app_data/odrs/util.py
@@ -3,6 +3,8 @@
#
# Copyright (C) 2019 Richard Hughes <richard hughsie com>
#
+# pylint: disable=import-outside-toplevel
+#
# SPDX-License-Identifier: GPL-3.0+
import json
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]