Skip to content

Commit 734e0cc

Browse files
authored
Merge pull request #11 from adafruit/black-update
Black formatting and adding setup.py.disabled
2 parents fb3a6e3 + 1e33665 commit 734e0cc

File tree

6 files changed

+22
-33
lines changed

6 files changed

+22
-33
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Introduction
1313
:target: https://github.com/adafruit/Adafruit_CircuitPython_CPython/actions
1414
:alt: Build Status
1515

16-
.. todo:: Describe what the library does.
16+
CPython modules made available for CircuitPython.
1717

1818
Dependencies
1919
=============
@@ -28,7 +28,7 @@ This is easily achieved by downloading
2828
Usage Example
2929
=============
3030

31-
.. todo:: Add a quick, simple example. It and other examples should live in the examples folder and be included in docs/examples.rst.
31+
See example in docs/examples.rst.
3232

3333
Contributing
3434
============

adafruit__cpython.py renamed to adafruit_cpython.py

+2-11
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,21 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222
"""
23-
`Adafruit__CPython`
23+
`adafruit_cpython`
2424
====================================================
2525
26-
.. todo:: Describe what the module does
26+
CPython modules for use in CircuitPython.
2727
2828
* Author(s): Scott Shawcroft
2929
3030
Implementation Notes
3131
--------------------
3232
33-
**Hardware:**
34-
35-
.. todo:: Add links to any specific hardware product page(s), or category page(s). Use unordered list & hyperlink rST
36-
inline format: "* `Link Text <url>`_"
37-
3833
**Software and Dependencies:**
3934
4035
* Adafruit CircuitPython firmware for the supported boards:
4136
https://github.com/adafruit/circuitpython/releases
4237
43-
.. todo:: Uncomment or remove the Bus Device and/or the Register library dependencies based on the library's use of either.
44-
45-
# * Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
46-
# * Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
4738
"""
4839

4940
# imports

docs/api.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
55
.. use this format as the module name: "adafruit_foo.foo"
66
7-
.. automodule:: adafruit__cpython
7+
.. automodule:: adafruit_cpython
88
:members:

docs/conf.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@
3838
master_doc = "index"
3939

4040
# General information about the project.
41-
project = u"Adafruit_ CPython Library"
42-
copyright = u"2017 Scott Shawcroft"
43-
author = u"Scott Shawcroft"
41+
project = "Adafruit CPython Library"
42+
copyright = "2017 Scott Shawcroft"
43+
author = "Scott Shawcroft"
4444

4545
# The version info for the project you're documenting, acts as replacement for
4646
# |version| and |release|, also used in various other places throughout the
4747
# built documents.
4848
#
4949
# The short X.Y version.
50-
version = u"1.0"
50+
version = "1.0"
5151
# The full version, including alpha/beta/rc tags.
52-
release = u"1.0"
52+
release = "1.0"
5353

5454
# The language for content autogenerated by Sphinx. Refer to documentation
5555
# for a list of supported languages.
@@ -114,7 +114,7 @@
114114
html_favicon = "_static/favicon.ico"
115115

116116
# Output file base name for HTML help builder.
117-
htmlhelp_basename = "Adafruit_CpythonLibrarydoc"
117+
htmlhelp_basename = "AdafruitCpythonLibrarydoc"
118118

119119
# -- Options for LaTeX output ---------------------------------------------
120120

@@ -139,8 +139,8 @@
139139
latex_documents = [
140140
(
141141
master_doc,
142-
"Adafruit_CPythonLibrary.tex",
143-
u"Adafruit_CPython Library Documentation",
142+
"AdafruitCPythonLibrary.tex",
143+
"AdafruitCPython Library Documentation",
144144
author,
145145
"manual",
146146
),
@@ -153,8 +153,8 @@
153153
man_pages = [
154154
(
155155
master_doc,
156-
"Adafruit_CPythonlibrary",
157-
u"Adafruit_ CPython Library Documentation",
156+
"AdafruitCPythonlibrary",
157+
"Adafruit CPython Library Documentation",
158158
[author],
159159
1,
160160
)
@@ -168,10 +168,10 @@
168168
texinfo_documents = [
169169
(
170170
master_doc,
171-
"Adafruit_CPythonLibrary",
172-
u"Adafruit_ CPython Library Documentation",
171+
"AdafruitCPythonLibrary",
172+
"Adafruit CPython Library Documentation",
173173
author,
174-
"Adafruit_CPythonLibrary",
174+
"AdafruitCPythonLibrary",
175175
"One line description of project.",
176176
"Miscellaneous",
177177
),

docs/index.rst

-6
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,9 @@ Table of Contents
2323
.. toctree::
2424
:caption: Tutorials
2525

26-
.. todo:: Add any Learn guide links here. If there are none, then simply delete this todo and leave
27-
the toctree above for use later.
28-
2926
.. toctree::
3027
:caption: Related Products
3128

32-
.. todo:: Add any product links here. If there are none, then simply delete this todo and leave
33-
the toctree above for use later.
34-
3529
.. toctree::
3630
:caption: Other Links
3731

setup.py.disabled

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""
2+
This library is not deployed to PyPI. It is either a board-specific helper library, or
3+
does not make sense for use on or is incompatible with single board computers and Linux.
4+
"""

0 commit comments

Comments
 (0)