Skip to content

Commit c69d766

Browse files
committed
fixed conf.py and setup.py with Black
1 parent 82455ed commit c69d766

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

docs/conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@
2929

3030

3131
intersphinx_mapping = {
32-
"python": ("https://docs.python.org/3.4", None),"BusDevice": ("https://circuitpython.readthedocs.io/projects/busdevice/en/latest/", None),
33-
32+
"python": ("https://docs.python.org/3.4", None),
33+
"BusDevice": (
34+
"https://circuitpython.readthedocs.io/projects/busdevice/en/latest/",
35+
None,
36+
),
3437
"CircuitPython": ("https://circuitpython.readthedocs.io/en/latest/", None),
3538
}
3639

@@ -129,7 +132,7 @@
129132

130133
# Output file base name for HTML help builder.
131134
# htmlhelp_basename = "Sparkfun_CircuitPython_Serlcd_Librarydoc"
132-
htmlhelp_basename = 'SparkfunSerlcdLibrarydoc'
135+
htmlhelp_basename = "SparkfunSerlcdLibrarydoc"
133136

134137
# -- Options for LaTeX output ---------------------------------------------
135138

setup.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"""
1212

1313
from setuptools import setup, find_packages
14+
1415
# To use a consistent encoding
1516
from codecs import open
1617
from os import path
@@ -23,34 +24,26 @@
2324

2425
setup(
2526
name="sparkfun-circuitpython-serlcd",
26-
2727
use_scm_version={
2828
# This is needed for the PyPI version munging in the Github Actions release.yml
2929
"git_describe_command": "git describe --tags --long",
3030
"local_scheme": "no-local-version",
3131
},
32-
3332
setup_requires=["setuptools_scm"],
34-
3533
description="CircuitPython driver library for the Sparkfun SerLCD displays",
3634
long_description=long_description,
3735
long_description_content_type="text/x-rst",
38-
3936
# The project's main homepage.
4037
url="https://github.com/fourstix/Sparkfun_CircuitPython_SerLCD.git",
41-
4238
# Author details
4339
author="Gaston Williams",
4440
author_email="[email protected]",
45-
4641
install_requires=[
4742
"Adafruit-Blinka",
4843
"adafruit-circuitpython-busdevice",
4944
],
50-
5145
# Choose your license
5246
license="MIT",
53-
5447
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
5548
classifiers=[
5649
"Development Status :: 3 - Alpha",
@@ -62,10 +55,8 @@
6255
"Programming Language :: Python :: 3.4",
6356
"Programming Language :: Python :: 3.5",
6457
],
65-
6658
# What does your project relate to?
6759
keywords="adafruit blinka circuitpython micropython serlcd sparkfun serial lcd display",
68-
6960
# You can just specify the packages manually here if your project is
7061
# simple. Or you can use find_packages().
7162
py_modules=["sparkfun_serlcd"],

sparkfun_serlcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def reset(self):
463463
self.command(_RESET_COMMAND)
464464

465465
def default_splash_screen(self):
466-
""" Result to the default splash screen"""
466+
"""Result to the default splash screen"""
467467
# Clear the display
468468
self.clear()
469469
# put the default charater

0 commit comments

Comments
 (0)