This is an automated email from the ASF dual-hosted git repository.

turbaszek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 12d39cd  Make airflow/models/errors.py Pylint compatible (#9288)
12d39cd is described below

commit 12d39cd5b6cca1441261a8cab9098b749fe79150
Author: Kaxil Naik <[email protected]>
AuthorDate: Mon Jun 15 08:04:07 2020 +0100

    Make airflow/models/errors.py Pylint compatible (#9288)
---
 airflow/models/errors.py   | 6 +++++-
 scripts/ci/pylint_todo.txt | 1 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/airflow/models/errors.py b/airflow/models/errors.py
index 76c8ffb..788cb3a 100644
--- a/airflow/models/errors.py
+++ b/airflow/models/errors.py
@@ -22,7 +22,11 @@ from airflow.models.base import Base
 from airflow.utils.sqlalchemy import UtcDateTime
 
 
-class ImportError(Base):
+class ImportError(Base):  # pylint: disable=redefined-builtin
+    """
+    A table to store all Import Errors. The ImportErrors are recorded when 
parsing DAGs.
+    This errors are displayed on the Webserver.
+    """
     __tablename__ = "import_error"
     id = Column(Integer, primary_key=True)
     timestamp = Column(UtcDateTime)
diff --git a/scripts/ci/pylint_todo.txt b/scripts/ci/pylint_todo.txt
index 234e55f..ed6d8a8 100644
--- a/scripts/ci/pylint_todo.txt
+++ b/scripts/ci/pylint_todo.txt
@@ -9,7 +9,6 @@
 ./airflow/models/dagbag.py
 ./airflow/models/dagpickle.py
 ./airflow/models/dagrun.py
-./airflow/models/errors.py
 ./airflow/models/kubernetes.py
 ./airflow/models/pool.py
 ./airflow/models/slamiss.py

Reply via email to