Skip to content

sync with origin #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
01cd6fd
Don't show uninitialized data
esmil Jul 22, 2020
17fd7df
Merge pull request #31 from esmil/master
brentru Aug 21, 2020
d85fd57
Split library into package and adapt examples+doc
dglaude Aug 16, 2020
c1166f0
make library lowercase + remove the matrix singularity + adapt example
dglaude Aug 19, 2020
85b2b64
Update api.rst
dglaude Aug 19, 2020
f3f6445
Update led_shim.py
dglaude Aug 20, 2020
684e8f6
Update scroll_phat_hd.py
dglaude Aug 20, 2020
a7ff4e5
Update README.rst
dglaude Aug 20, 2020
6270f09
Ameliorate the rendering of the example despite black.
dglaude Aug 21, 2020
cac8a77
Stoping black from putting a table on a line.
dglaude Aug 21, 2020
1440e4f
Sorting and documenting all the example provided.
dglaude Aug 21, 2020
1a726c3
Adapt example to generate better documentation.
dglaude Aug 21, 2020
6766c5a
Update setup.py
dglaude Aug 23, 2020
9001117
Update is31fl3731_text_example.py
dglaude Aug 23, 2020
a19ab53
Added pre-commit and SPDX copyright
evaherrada Jan 11, 2021
9c64242
Added pre-commit-config file
evaherrada Jan 11, 2021
0e925a4
Ran pre-commit, added licenses
evaherrada Jan 12, 2021
ae436d3
Merge pull request #34 from adafruit/REUSE
evaherrada Jan 12, 2021
6c368a0
Hardcoded Black and REUSE versions
evaherrada Feb 3, 2021
474a325
Adding support for the 4x4 RGB matrix of Keybow 2040.
sandyjmacdonald Feb 14, 2021
78ec126
Reverting change in LED SHIM I2C address.
sandyjmacdonald Feb 14, 2021
6e2c196
Adding license details to example.
sandyjmacdonald Feb 14, 2021
4087757
Linting and reformatting.
sandyjmacdonald Feb 14, 2021
5292151
Fixing up linting errors.
sandyjmacdonald Feb 14, 2021
0246396
Merge pull request #35 from sandyjmacdonald/master
makermelissa Feb 15, 2021
2c34af8
Removed pylint process from github workflow
evaherrada Mar 2, 2021
52dad15
Re-added pylint install to build.yml
evaherrada Mar 2, 2021
d934a5a
Fix merge conflicts and manually merge newer PRs
makermelissa Mar 8, 2021
e1898cb
Remove extraneous code and run pre-commit
makermelissa Mar 8, 2021
3fa3ffe
Updated license info for each split file
makermelissa Mar 8, 2021
a85d015
Merge pull request #38 from makermelissa/refactor
makermelissa Mar 8, 2021
e11b25b
Update matrix_11x7.py
dglaude Mar 9, 2021
d64cff1
Merge pull request #39 from dglaude/patch-1
makermelissa Mar 9, 2021
ba57ae6
Hint for Pico & Pimoroni 11x7 LED Matrix Breakout
dglaude Mar 9, 2021
91e3b9a
Hint for Pico & Pimoroni 11x7 LED Matrix Breakout
dglaude Mar 9, 2021
0692343
Hint for Pico & Pimoroni 11x7 LED Matrix Breakout
dglaude Mar 9, 2021
0b38ce5
Hint for Pico & Pimoroni 11x7 LED Matrix Breakout
dglaude Mar 9, 2021
79a2fa9
Hint for Pico & Pimoroni 11x7 LED Matrix Breakout
dglaude Mar 9, 2021
8adf0ba
Create is31fl3731_frame_example.py
dglaude Mar 9, 2021
f4c100f
Update is31fl3731_blink_example.py
dglaude Mar 9, 2021
6c01780
Update is31fl3731_blink_example.py
dglaude Mar 9, 2021
61a2679
Update is31fl3731_frame_example.py
dglaude Mar 9, 2021
11533d4
Merge pull request #40 from dglaude/patch-1
makermelissa Mar 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
#
# SPDX-License-Identifier: MIT

name: Build CI

on: [pull_request, push]
Expand Down Expand Up @@ -38,20 +42,32 @@ jobs:
# (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
run: |
source actions-ci/install.sh
- name: Pip install pylint, black, & Sphinx
- name: Pip install pylint, Sphinx, pre-commit
run: |
pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme
pip install --force-reinstall pylint Sphinx sphinx-rtd-theme pre-commit
- name: Library version
run: git describe --dirty --always --tags
- name: Check formatting
run: |
black --check --target-version=py35 .
- name: PyLint
- name: Pre-commit hooks
run: |
pylint $( find . -path './adafruit*.py' )
([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
pre-commit run --all-files
- name: Build assets
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
- name: Archive bundles
uses: actions/upload-artifact@v2
with:
name: bundles
path: ${{ github.workspace }}/bundles/
- name: Build docs
working-directory: docs
run: sphinx-build -E -W -b html . _build/html
- name: Check For setup.py
id: need-pypi
run: |
echo ::set-output name=setup-py::$( find . -wholename './setup.py' )
- name: Build Python package
if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')
run: |
pip install --upgrade setuptools wheel twine readme_renderer testresources
python setup.py sdist
python setup.py bdist_wheel --universal
twine check dist/*
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
#
# SPDX-License-Identifier: MIT

name: Release Actions

on:
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense

*.mpy
.idea
__pycache__
Expand All @@ -8,4 +12,4 @@ bundles
*.DS_Store
.eggs
dist
**/*.egg-info
**/*.egg-info
34 changes: 34 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense

repos:
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/fsfe/reuse-tool
rev: v0.12.1
hooks:
- id: reuse
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/pylint
rev: pylint-2.7.1
hooks:
- id: pylint
name: pylint (library code)
types: [python]
exclude: "^(docs/|examples/|setup.py$)"
- repo: local
hooks:
- id: pylint_examples
name: pylint (examples code)
description: Run pylint rules on "examples/*.py" files
entry: /usr/bin/env bash -c
args: ['([[ ! -d "examples" ]] || for example in $(find . -path "./examples/*.py"); do pylint --disable=missing-docstring,invalid-name $example; done)']
language: system
6 changes: 5 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense

[MASTER]

# A comma-separated list of package or module names from where C extensions may
Expand Down Expand Up @@ -246,7 +250,7 @@ ignore-comments=yes
ignore-docstrings=yes

# Ignore imports when computing similarities.
ignore-imports=no
ignore-imports=yes

# Minimum lines number of a similarity.
min-similarity-lines=4
Expand Down
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense

python:
version: 3
requirements_file: requirements.txt
14 changes: 10 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2014 Coraline Ada Ehmke
SPDX-FileCopyrightText: 2019 Kattni Rembor for Adafruit Industries
SPDX-License-Identifier: CC-BY-4.0
-->

# Adafruit Community Code of Conduct

## Our Pledge
Expand Down Expand Up @@ -43,7 +49,7 @@ Examples of unacceptable behavior by participants include:

The goal of the standards and moderation guidelines outlined here is to build
and maintain a respectful community. We ask that you don’t just aim to be
"technically unimpeachable", but rather try to be your best self.
"technically unimpeachable", but rather try to be your best self.

We value many things beyond technical expertise, including collaboration and
supporting others within our community. Providing a positive experience for
Expand Down Expand Up @@ -74,9 +80,9 @@ You may report in the following ways:
In any situation, you may send an email to <[email protected]>.

On the Adafruit Discord, you may send an open message from any channel
to all Community Moderators by tagging @community moderators. You may
also send an open message from any channel, or a direct message to
@kattni#1507, @tannewt#4653, @Dan Halbert#1614, @cater#2442,
to all Community Moderators by tagging @community moderators. You may
also send an open message from any channel, or a direct message to
@kattni#1507, @tannewt#4653, @Dan Halbert#1614, @cater#2442,
@sommersoft#0222, @Mr. Certainly#0472 or @Andon#8175.

Email and direct message reports will be kept confidential.
Expand Down
Loading