Commit graph

201 commits

Author SHA1 Message Date
foamyguy
3b7cc0a51f update rtd.yml file
Signed-off-by: foamyguy <foamyguy@gmail.com>
2025-06-17 10:31:53 -05:00
foamyguy
bbe12f008c
Merge pull request #51 from FoamyGuy/displayio_api_update
displayio API update
2025-05-28 16:20:57 -05:00
foamyguy
3446470fa1 displayio API update 2025-05-27 16:28:36 -05:00
foamyguy
4d945fe51a
Merge pull request #50 from adafruit/use_ruff
change to ruff
2025-05-16 14:46:02 -05:00
foamyguy
8ee4425a0d change to ruff 2025-05-16 19:34:43 +00:00
foamyguy
5da667ae32
Merge pull request #49 from justmobilize/remove-secrets-usage
Remove secrets usage
2025-02-27 20:54:47 -06:00
Justin Myers
cb4511ae61 Remove secrets usage 2025-02-27 15:43:54 -08:00
foamyguy
5aaa6abd75 add sphinx configuration to rtd.yaml
Signed-off-by: foamyguy <foamyguy@gmail.com>
2025-01-16 09:17:58 -06:00
foamyguy
b94d548cd1
Merge pull request #44 from FoamyGuy/circle_and_dot_fix
make circle and dot always use degrees internally
2024-12-12 13:22:09 -06:00
foamyguy
63a6ffbf91
Merge pull request #48 from FoamyGuy/visible_turtle_loc_fix
fix for visible turtle location
2024-12-09 09:57:56 -06:00
foamyguy
277983a836 fix for visible turtle location 2024-12-09 09:12:37 -06:00
foamyguy
49d941a3f2
Merge pull request #45 from adafruit/issue41
Account for fractions of a pixel when drawing
2024-12-05 08:56:15 -06:00
614e9e2b4f Account for fractions of a pixel when drawing
Previously, the endpoint of the line was always moved
along in increments of 1 pixel, so that the endpoint would always be
rounded down. This could accumulate to give quite large differences
from what the program intended.

Ensure that "goto" always ends up storing the floating point endpoints
and that the line is drawn from the rounded-integer starting coordinate
and rounded-integer ending coordinate.

This makes the 3 test lines in the OP's "turtle_truncate.txt" example
be the same length.

Closes: #41
2024-12-04 18:57:14 -06:00
foamyguy
591b805474 remove pylint disables 2024-12-04 10:16:11 -06:00
foamyguy
96222c3429 remove space 2024-12-04 10:12:15 -06:00
foamyguy
e921f796f1 make circle and dot always use degrees internally 2024-12-04 09:30:24 -06:00
foamyguy
06de267b3a
Merge pull request #42 from FoamyGuy/standard_color_docs
Standard color docs
2024-12-04 08:19:24 -06:00
foamyguy
bc7315d4b6
Merge pull request #43 from FoamyGuy/mode_default
default to "standard" mode
2024-12-04 08:19:12 -06:00
foamyguy
f2ae512e0e default to "standard" mode 2024-12-02 17:24:48 -06:00
foamyguy
0c57fd42dc format 2024-12-02 16:06:44 -06:00
foamyguy
ebd591df45 remove duplicate color name 2024-12-02 16:02:41 -06:00
foamyguy
eeac41fe02 list standard colors in the docstrings 2024-12-02 15:58:23 -06:00
foamyguy
057d7fd9fa remove deprecated get_html_theme_path() call
Signed-off-by: foamyguy <foamyguy@gmail.com>
2024-10-07 14:41:49 -05:00
foamyguy
5a170cb7b1 unpin sphinx and add sphinx-rtd-theme to docs reqs
Signed-off-by: foamyguy <foamyguy@gmail.com>
2023-12-04 09:54:58 -06:00
Scott Shawcroft
17a80d38a7
Merge pull request #36 from RetiredWizard/removeShow
Remove depreciated displayio.show
2023-10-19 09:11:19 -07:00
RetiredWizard
9d09f16bb2 Remove depreciated displayio.show 2023-10-19 01:48:10 -04:00
foamyguy
d4477d1126 "fix rtd theme
"
2023-09-18 16:24:09 -05:00
foamyguy
f632227871
Merge pull request #35 from rrahkola/dev/add_type_annotations
adding type annotations for adafruit_turtle.py
2023-09-04 11:03:57 -05:00
foamyguy
d4a599a928 code format, use more specific types than Any 2023-09-04 10:57:38 -05:00
foamyguy
f03cfc7fa1 merge main, handle PR feedback 2023-09-04 10:50:19 -05:00
foamyguy
53d222e3f5 Merge branch 'main' into dev/add_type_annotations
# Conflicts:
#	adafruit_turtle.py
2023-09-04 10:48:48 -05:00
foamyguy
93ea97b2c8
Merge pull request #34 from adafruit/tannewt-fix-koch
Fix koch examples
2023-07-29 10:35:03 -05:00
Tekktrik
751760ebd7 Update .pylintrc, fix jQuery for docs
Signed-off-by: Tekktrik <tekktrik@gmail.com>
2023-05-23 21:16:31 -04:00
Tekktrik
a30359b9d8 Run pre-commit 2023-05-10 22:47:08 -04:00
Tekktrik
141d80ce8f Update pre-commit hooks
Signed-off-by: Tekktrik <tekktrik@gmail.com>
2023-05-10 15:21:52 -04:00
Rauha Rahkola
012c3b3a9c revert some unnecessary refactoring 2023-04-27 08:55:30 -07:00
Rauha Rahkola
614b602f8d adding type annotations for adafruit_turtle.py 2023-04-27 08:47:11 -07:00
Scott Shawcroft
480352b7b9
Fix overlayed koch 2023-04-19 10:57:41 -07:00
Scott Shawcroft
d70d57abca
Fix koch example 2023-04-19 10:55:38 -07:00
Alec Delaney
2ab650e364 Add upload url to release action
Signed-off-by: Alec Delaney <89490472+tekktrik@users.noreply.github.com>
2023-01-19 23:49:52 -05:00
Alec Delaney
0ac3837b82 Add .venv to .gitignore
Signed-off-by: Alec Delaney <89490472+tekktrik@users.noreply.github.com>
2022-11-30 19:38:47 -05:00
Kattni
a9a5385902
Merge pull request #32 from tekktrik/dev/fix-pylint-errors
Fix pylint errors
2022-11-08 15:29:45 -05:00
Alec Delaney
689c01102c Fix pylint errors 2022-11-07 21:07:36 -05:00
Alec Delaney
298f6de310 Update .pylintrc for v2.15.5 2022-11-04 18:34:33 -04:00
Alec Delaney
f97bae7826 Fix release CI files 2022-11-04 09:12:46 -04:00
Alec Delaney
4bdae92772 Update pylint to 2.15.5 2022-11-04 08:15:21 -04:00
Alec Delaney
4fb06f4482 Updated pylint version to 2.13.0 2022-11-04 00:47:01 -04:00
Alec Delaney
332a947519 Switching to composite actions 2022-11-04 00:02:50 -04:00
foamyguy
b7b438657e
Merge pull request #31 from shulltronics/cpython-compatibility
CPython compatibility fix
2022-10-03 17:57:41 -05:00
Carsten Thue-Bludworth
47f94f2aa8
Merge pull request #1 from FoamyGuy/foamyguy_cpython_compat
CPython compatibility
2022-10-01 21:43:14 -04:00