diff --git a/.vscode/settings.json b/.vscode/settings.json index 7b61363..6c06cc1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,9 +7,15 @@ "spellright.language": [ "en_US" ], - "spellright.ignoreFiles": [ "**/.gitignore", "**/.vscode" ], + "spellright.ignoreFiles": [ + "**/.gitignore", + "**/.vscode", + "**/conf.py", + "**/_version.py", + ], "spellright.ignoreRegExps": [ "/.. math::[^]*?.. endmath/gm", + "/``[^]*?``/gm", ], "spellright.documentTypes": [ "markdown", diff --git a/.vscode/spellright.dict b/.vscode/spellright.dict index 174c5db..1d71b4b 100644 --- a/.vscode/spellright.dict +++ b/.vscode/spellright.dict @@ -1,11 +1,14 @@ °C °F +Ω accelerometer +Aragonese autoattribute autoclass autofunction automethod automodule +baudrate bool builtins cdot @@ -22,6 +25,7 @@ ev3dev ev3devices Ev3devSensor fb +Franca func i2caddress int @@ -31,11 +35,14 @@ kd ki kp lbf +Huế LEGO LEGO® linacceleration linspeed +Lingua literalinclude +Lojban Lucida maxdepth milliampere @@ -51,6 +58,7 @@ NXT nxtdevices PCM pid +png pupdevices py Pybricks @@ -59,89 +67,12 @@ relativedistance rgb robotframe rtype +sep signaltypes simplemotor startinstall str +thermistor toctree TODO UART -png - - - -af -an -bg -bs -ca -cs -cy -da -de -el -en -en-gb -en-sc -en-uk-north -en-uk-rp -en-uk-wmids -en-us -en-wi -eo -es -es-la -et -fa -fa-pin -fi -fr-be -fr-fr -ga -grc -hi -hr -hu -hy -hy-west -id -is -it -jbo -ka -kn -ku -la -lfn -lt -lv -mk -ml -ms -ne -nl -no -pa -pl -pt-br -pt-pt -ro -ru -sk -sq -sr -sv -sw -ta -tr -vi -vi-hue -vi-sgn -zh -zh-yue -Huế -Lingua -Franca -Lojban -Aragonese -whisperf diff --git a/pybricks/_simplemotor.py b/pybricks/_simplemotor.py index 9535a81..7b5f814 100644 --- a/pybricks/_simplemotor.py +++ b/pybricks/_simplemotor.py @@ -1,4 +1,5 @@ -"""Shortened and simplified motor docs, by hiding optional methods and args.""" +"""Shortened and simplified motor docs, by hiding optional +methods and arguments.""" from .builtins import Motor from .parameters import Direction, Stop diff --git a/pybricks/robotics.py b/pybricks/robotics.py index c8d91eb..24f3223 100644 --- a/pybricks/robotics.py +++ b/pybricks/robotics.py @@ -22,7 +22,7 @@ class DriveBase(): """ def start(self, drive_speed, turn_rate): - """Start driving at the specified speed and turnrate, both measured at + """Start driving at the specified speed and turn rate, both measured at the center point between the wheels of the robot. Arguments: @@ -51,7 +51,7 @@ class DriveBase(): pass def angle(self): - """Get the estimated accumulated rotation angle of the drivebase. + """Get the estimated accumulated rotation angle of the drive base. Returns: :ref:`angle`: Accumulated angle since last reset. diff --git a/pybricks/tools.py b/pybricks/tools.py index d01a834..460a1fe 100644 --- a/pybricks/tools.py +++ b/pybricks/tools.py @@ -1,4 +1,4 @@ -"""Common tools for timing and datalogging.""" +"""Common tools for timing and data logging.""" def print():