diff --git a/docs/source/conf.py b/docs/source/conf.py index 36fa8e02e..49fe9f303 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -234,7 +234,10 @@ texinfo_documents = [( 'index', 'Plyer', u'Plyer Documentation', u'Kivy Team and other contributors', - 'Plyer', 'Plyer is a platform-independent Python API for accessing features of various hardware platforms, especially Android and iOS devices.', 'Miscellaneous' + 'Plyer', + 'Plyer is a platform-independent Python API for accessing features of ' + 'various hardware platforms, especially Android and iOS devices.', + 'Miscellaneous' ), ] # Documents to append as an appendix to all manuals. diff --git a/examples/accelerometer/using_graph/libs/garden/garden.graph/__init__.py b/examples/accelerometer/using_graph/libs/garden/garden.graph/__init__.py index 841e83536..ddcec3461 100644 --- a/examples/accelerometer/using_graph/libs/garden/garden.graph/__init__.py +++ b/examples/accelerometer/using_graph/libs/garden/garden.graph/__init__.py @@ -50,9 +50,9 @@ from kivy.uix.widget import Widget from kivy.uix.label import Label from kivy.uix.stencilview import StencilView -from kivy.properties import NumericProperty, BooleanProperty,\ - BoundedNumericProperty, StringProperty, ListProperty, ObjectProperty,\ - DictProperty, AliasProperty +from kivy.properties import (NumericProperty, BooleanProperty, + BoundedNumericProperty, StringProperty, ListProperty, ObjectProperty, + DictProperty, AliasProperty) from kivy.clock import Clock from kivy.graphics import Mesh, Color from kivy.graphics.transformation import Matrix diff --git a/examples/compass/main.py b/examples/compass/main.py index 6a4de0c87..a2bdaa59b 100644 --- a/examples/compass/main.py +++ b/examples/compass/main.py @@ -101,7 +101,7 @@ def get_field(self, dt): def get_field_uncalib(self, dt): if self.facade.field_uncalib != (None, None, None, None, None, None): - self.x_field, self.y_field, self.z_field, self.x_iron,\ + self.x_field, self.y_field, self.z_field, self.x_iron, \ self.y_iron, self.z_iron = self.facade.field_uncalib diff --git a/examples/gyroscope/main.py b/examples/gyroscope/main.py index 636457303..31d2d5bf2 100644 --- a/examples/gyroscope/main.py +++ b/examples/gyroscope/main.py @@ -98,7 +98,7 @@ def get_rotation_uncalib(self, dt): empty = tuple([None for i in range(6)]) if self.facade.rotation_uncalib != empty: - self.x_speed, self.y_speed, self.z_speed, self.x_drift,\ + self.x_speed, self.y_speed, self.z_speed, self.x_drift, \ self.y_drift, self.z_drift = self.facade.rotation_uncalib diff --git a/setup.py b/setup.py index ebc1a672f..f9a21f30c 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,9 @@ setup( name='plyer', version=plyer.__version__, - description='A platform-independent Python API for accessing features of various hardware platforms, especially Android and iOS devices.', + description='A platform-independent Python API for accessing features of ' + 'various hardware platforms, especially Android and iOS ' + 'devices.', long_description=README + u"\n\n" + CHANGELOG + u"\n\n", long_description_content_type='text/markdown', author='Kivy team', @@ -81,11 +83,10 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', ], - project_urls = { + project_urls={ 'Documentation': "https://plyer.readthedocs.io", 'Source': "https://github.com/kivy/plyer", 'Bug Reports': "https://github.com/kivy/plyer/issues", }, - -**EXTRA_OPTIONS + **EXTRA_OPTIONS )