From c3382a04dba013fb9fd9be9e033d07adc7f5729a Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Tue, 15 Feb 2022 09:57:46 -0600 Subject: [PATCH 1/3] Add pull request template --- .../adafruit_circuitpython_pr.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md diff --git a/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md b/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md new file mode 100644 index 0000000..8de294e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: 2021 Adafruit Industries +# +# SPDX-License-Identifier: MIT + +Thank you for contributing! Before you submit a pull request, please read the following. + +Make sure any changes you're submitting are in line with the CircuitPython Design Guide, available here: https://docs.circuitpython.org/en/latest/docs/design_guide.html + +If your changes are to documentation, please verify that the documentation builds locally by following the steps found here: https://adafru.it/build-docs + +Before submitting the pull request, make sure you've run Pylint and Black locally on your code. You can do this manually or using pre-commit. Instructions are available here: https://adafru.it/check-your-code + +Please remove all of this text before submitting. Include an explanation or list of changes included in your PR, as well as, if applicable, a link to any related issues. From 7d8c0f5524501bae5ddeb13e7b9b27fd7c16cd4b Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Thu, 12 May 2022 10:16:30 -0500 Subject: [PATCH 2/3] try pre-commit.ci --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index baf04bb..9bd113f 100644 --- a/README.rst +++ b/README.rst @@ -17,6 +17,10 @@ Introduction :target: https://github.com/psf/black :alt: Code Style: Black +.. image:: https://results.pre-commit.ci/badge/github/jepler/Jepler_CircuitPython_udecimal/main.svg + :target: https://results.pre-commit.ci/latest/github/jepler/Jepler_CircuitPython_udecimal/main + :alt: pre-commit.ci status + Reduced version of the decimal library for CircuitPython From 3421ff43b4e4bfc75bb2b94d9f813a1c0ca673f9 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Thu, 12 May 2022 10:19:45 -0500 Subject: [PATCH 3/3] bump black version --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13e2c37..b91212a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/python/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/fsfe/reuse-tool