mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Upgrade pylint to 2.5.3 and fix most new rules (#10101)
* Bump pylint version to 2.5.3 * Add a global disable for the most common new pylint error * Fix a bunch of files containing very few errors * More pylint tweakage, low-hanging fruit * More easy stuff... * Fix more erroring files * Fix the last couple of errors, clean pylint! * Black * Fix mypy issue in connectors/druid/models.py
This commit is contained in:
@@ -34,7 +34,7 @@ class AnnotationLayer(Model, AuditMixinNullable):
|
||||
descr = Column(Text)
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return self.name
|
||||
return str(self.name)
|
||||
|
||||
|
||||
class Annotation(Model, AuditMixinNullable):
|
||||
|
||||
Reference in New Issue
Block a user