From 7b8c5156141115f8e1281ec406cc5d04711b262c Mon Sep 17 00:00:00 2001 From: Tim Sutton Date: Sat, 2 Dec 2023 15:10:11 +0000 Subject: [PATCH] Type fix in docs --- animation_workbench/easing_preview.py | 17 ++++++++++------- docs/src/index.md | 2 +- pylintrc | 5 +---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/animation_workbench/easing_preview.py b/animation_workbench/easing_preview.py index 430d316..10416be 100644 --- a/animation_workbench/easing_preview.py +++ b/animation_workbench/easing_preview.py @@ -22,13 +22,16 @@ class EasingAnimation(QPropertyAnimation): - # See documentation here which explains that you should - # create your own subclass of QVariantAnimation - # if you want to change the animation behaviour. In our - # case we want to override the fact that the animation - # changes both the x and y coords in each increment - # so that we can show the preview as a mock chart - # https://doc.qt.io/qt-6/qvariantanimation.html#endValue-prop + """Animation settings for easings for natural transitions between states. + + See documentation here which explains that you should + create your own subclass of QVariantAnimation + if you want to change the animation behaviour. In our + case we want to override the fact that the animation + changes both the x and y coords in each increment + so that we can show the preview as a mock chart + https://doc.qt.io/qt-6/qvariantanimation.html#endValue-prop + """ def __init__(self, target_object, property): parent = None super(EasingAnimation, self).__init__() diff --git a/docs/src/index.md b/docs/src/index.md index b76e10d..ac19139 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,6 +1,6 @@ # QGIS Animation Workbench -Welcome to the QGIS Animation Workbench (QAW). QAW is a [QGIS Plugins](https://qgis.org) that will help you bring your maps to life! Let's start with a quick overview. Click on the image below to view a 14 minute walkthrough on YouTube. +Welcome to the QGIS Animation Workbench (QAW). QAW is a [QGIS Plugin](https://qgis.org) that will help you bring your maps to life! Let's start with a quick overview. Click on the image below to view a 14 minute walkthrough on YouTube. [![Overview](start/img/QAW-IntroThumbnail.jpg)](https://youtu.be/DkS6yvnuypc) diff --git a/pylintrc b/pylintrc index 326d8bf..5c7e50a 100644 --- a/pylintrc +++ b/pylintrc @@ -143,9 +143,6 @@ ignore-mixin-members=yes # (useful for classes with attributes dynamically set). ignored-classes=SQLObject -# When zope mode is activated, add a predefined set of Zope acquired attributes -# to generated-members. -zope=no # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E0201 when accessed. Python regular @@ -277,4 +274,4 @@ valid-metaclass-classmethod-first-arg=mcs # Exceptions that will emit a warning when being caught. Defaults to # "Exception" -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception