Commit graph

241 commits

Author SHA1 Message Date
Alec Delaney
4d079da911 Update .pylintrc for v2.15.5 2022-11-04 18:34:33 -04:00
Alec Delaney
cebe5bea18 Fix release CI files 2022-11-04 09:12:46 -04:00
Alec Delaney
4b364a5645 Update pylint to 2.15.5 2022-11-04 08:15:21 -04:00
Alec Delaney
3324c876f7 Updated pylint version to 2.13.0 2022-11-04 00:47:00 -04:00
Alec Delaney
d91c9a11dd Switching to composite actions 2022-11-04 00:02:50 -04:00
Alec Delaney
af8a756286
Update .gitignore 2022-09-13 19:44:40 -04:00
Alec Delaney
165b60f870
Merge pull request #61 from adafruit/clue_badge_example
Updating padding for CLUE badge example
2022-09-13 19:17:25 -04:00
BlitzCityDIY
a6151154ca Updating padding for CLUE badge example
I uploaded the example to a CLUE running CP8 and the text was not lining up as shown in the guide (https://learn.adafruit.com/clue-custom-circuit-python-badge/clue-badge). Adjusted the padding to match it and PR-ing since this code will be used for an upcoming PyLeap project.
2022-09-13 14:19:44 -04:00
Alec Delaney
e9331b7847 Use year duration range for copyright attribution 2022-08-23 17:26:22 -04:00
Alec Delaney
f0e851185b Keep copyright up to date in documentation 2022-08-22 21:36:33 -04:00
Alec Delaney
86262484f8 Fix version strings in workflow files 2022-08-16 21:09:16 -04:00
Alec Delaney
86de3352e5 Update version string 2022-08-16 18:09:16 -04:00
Alec Delaney
3db064b670 Add setuptools-scm to build system requirements
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-08-09 13:32:24 -04:00
Alec Delaney
d4d62e35f2 Switched to pyproject.toml 2022-08-08 22:05:55 -04:00
evaherrada
1d4aa7ce77
Added Black formatting badge 2022-08-02 17:00:57 -04:00
evaherrada
aea959d2e5
Changed .env to .venv in README.rst 2022-07-22 13:59:12 -04:00
Dan Halbert
d15c08d66b
Merge pull request #60 from adafruit/pypi
Prepared for adding to PyPI
2022-07-22 10:31:02 -04:00
evaherrada
be01f42355
Prepared for adding to PyPI 2022-07-21 14:34:32 -04:00
evaherrada
fad6b605e6
Added cp.org link to index.rst 2022-06-07 15:34:50 -04:00
Alec Delaney
5222e19869 Set language to "en" for documentation
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-05-30 17:51:12 -04:00
Alec Delaney
57c4d700f1 Switch to inclusive terminology
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-05-25 23:13:47 -04:00
Alec Delaney
ea29c45ad4 Increase min lines similarity
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-05-25 19:29:44 -04:00
Alec Delaney
a62d6756ef Patch .pre-commit-config.yaml 2022-05-15 12:48:53 -04:00
a5061b4654
Merge pull request #58 from adafruit/updates
Updates
2022-04-26 15:30:08 -05:00
d15c90b87e
Add an asyncio example with a fancy precomputed qr code 2022-04-26 15:15:10 -05:00
ee4d7dfcaa
make it OK to call auto_dim_display if brightness is not settable 2022-04-26 14:15:48 -05:00
4a23749b6d
fix activity() to immediately un-dim screen 2022-04-26 14:15:48 -05:00
e1f96af4d6
fix use of auto_refresh property during display update 2022-04-26 14:15:48 -05:00
c8cbc432f5
changes made by black via pre-commit 2022-04-26 14:15:47 -05:00
d2df1ef3be
use annotations and TYPE_CHECKING
.. and eliminate imports no longer used since the change to the
acceleration property
2022-04-26 14:15:47 -05:00
998e0f988c
make it OK to call acceleration() if no accelerometer; fix return type 2022-04-26 14:15:46 -05:00
cd3f9a8f62
fix movement check call 2022-04-26 14:15:46 -05:00
eb31a88b0b
remove circuitpython6 compatibility code 2022-04-26 14:15:42 -05:00
d5660075ec
Add, use show method to reduce display jank
This also removes 'with open(...) as ...:' because for correct
functionality the OnDiskBitmap needs to retain the open file handle for
as long as it exists.

In particular, this fixes a problem where switching to the 'business card'
view with a background image would redraw twice.

Calling `show()` also acts as activity, so it'll brighten the screen.
At present, this is not configurable.
2022-04-26 13:56:57 -05:00
bae8fe746e
Fix dimming of display
The old code would never brighten again after it went dim.

Now, it will brighten on movement or when `activity()` is called from
outside.
2022-04-26 13:54:16 -05:00
0237d66585
use bitmap text
in most cases this is more performant and can also use less RAM
2022-04-26 13:51:37 -05:00
39d3f9c4b9
Allow padding to be a float
padding_above is in "lines of text" units, so being able to position by
0.3 e.g., is useful to get a desired layout.
2022-04-26 13:51:20 -05:00
foamyguy
b5c03fa79c change discord badge 2022-04-24 14:05:44 -05:00
evaherrada
5dc4b3f8da
Patch: Replaced discord badge image 2022-04-22 15:59:10 -04:00
Eva Herrada
de8add0963
Update .gitignore 2022-04-21 18:53:10 -04:00
Alec Delaney
3ec03ecb0a "Reformatted per new black version" 2022-03-29 18:16:31 -04:00
Kattni Rembor
3e822c3461 Update Black to latest.
Signed-off-by: Kattni Rembor <kattni@adafruit.com>
2022-03-28 18:11:41 -04:00
tekktrik
69a8889d87
Merge pull request #57 from tekktrik/doc/add-typing
Add type annotations
2022-02-20 12:25:15 -05:00
Alec Delaney
756048d5b8 Linted and reformatted 2022-02-19 22:13:55 -05:00
Alec Delaney
299ae8ae80 Add type annotations 2022-02-19 22:05:44 -05:00
dherrada
b879a441d9 Fixed readthedocs build
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2022-02-15 11:56:08 -05:00
Alec Delaney
510d629189 Consolidate Documentation sections of README 2022-02-10 10:07:14 -05:00
dherrada
3492ff778d Updated docs link, updated python docs link, updated setup.py 2022-01-24 16:46:17 -05:00
dherrada
adb3b7c7a0 First part of patch
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2022-01-19 13:52:41 -05:00
foamyguy
e5e74f6b91
Merge pull request #56 from FoamyGuy/rename_mag_tag
rename mag_tag to magtag. Fix neopixel power pin handling
2021-12-14 17:24:25 -06:00