circuitpython-functools 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. circuitpython-functools-0.1.1/.github/PULL_REQUEST_TEMPLATE/adafruit_circuitpython_pr.md +13 -0
  2. circuitpython-functools-0.1.1/.github/workflows/build.yml +14 -0
  3. circuitpython-functools-0.1.1/.github/workflows/failure-help-text.yml +19 -0
  4. circuitpython-functools-0.1.1/.github/workflows/release_gh.yml +19 -0
  5. circuitpython-functools-0.1.1/.github/workflows/release_pypi.yml +19 -0
  6. circuitpython-functools-0.1.1/.gitignore +18 -0
  7. circuitpython-functools-0.1.1/.pre-commit-config.yaml +42 -0
  8. circuitpython-functools-0.1.1/.pylintrc +623 -0
  9. circuitpython-functools-0.1.1/.readthedocs.yaml +19 -0
  10. circuitpython-functools-0.1.1/CODE_OF_CONDUCT.md +138 -0
  11. circuitpython-functools-0.1.1/LICENSE +21 -0
  12. circuitpython-functools-0.1.1/LICENSES/CC-BY-4.0.txt +324 -0
  13. circuitpython-functools-0.1.1/LICENSES/MIT.txt +19 -0
  14. circuitpython-functools-0.1.1/LICENSES/Unlicense.txt +20 -0
  15. circuitpython-functools-0.1.1/PKG-INFO +129 -0
  16. circuitpython-functools-0.1.1/README.rst +111 -0
  17. circuitpython-functools-0.1.1/README.rst.license +3 -0
  18. circuitpython-functools-0.1.1/circuitpython_functools.egg-info/PKG-INFO +129 -0
  19. circuitpython-functools-0.1.1/circuitpython_functools.egg-info/SOURCES.txt +36 -0
  20. circuitpython-functools-0.1.1/circuitpython_functools.egg-info/dependency_links.txt +1 -0
  21. circuitpython-functools-0.1.1/circuitpython_functools.egg-info/requires.txt +3 -0
  22. circuitpython-functools-0.1.1/circuitpython_functools.egg-info/top_level.txt +1 -0
  23. circuitpython-functools-0.1.1/circuitpython_functools.py +83 -0
  24. circuitpython-functools-0.1.1/docs/_static/favicon.ico +0 -0
  25. circuitpython-functools-0.1.1/docs/_static/favicon.ico.license +3 -0
  26. circuitpython-functools-0.1.1/docs/api.rst +8 -0
  27. circuitpython-functools-0.1.1/docs/api.rst.license +4 -0
  28. circuitpython-functools-0.1.1/docs/conf.py +187 -0
  29. circuitpython-functools-0.1.1/docs/examples.rst +8 -0
  30. circuitpython-functools-0.1.1/docs/examples.rst.license +4 -0
  31. circuitpython-functools-0.1.1/docs/index.rst +47 -0
  32. circuitpython-functools-0.1.1/docs/index.rst.license +4 -0
  33. circuitpython-functools-0.1.1/docs/requirements.txt +5 -0
  34. circuitpython-functools-0.1.1/examples/functools_simpletest.py +37 -0
  35. circuitpython-functools-0.1.1/optional_requirements.txt +3 -0
  36. circuitpython-functools-0.1.1/pyproject.toml +47 -0
  37. circuitpython-functools-0.1.1/requirements.txt +6 -0
  38. circuitpython-functools-0.1.1/setup.cfg +4 -0
@@ -0,0 +1,13 @@
1
+ # SPDX-FileCopyrightText: 2021 Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ Thank you for contributing! Before you submit a pull request, please read the following.
6
+
7
+ 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
8
+
9
+ If your changes are to documentation, please verify that the documentation builds locally by following the steps found here: https://adafru.it/build-docs
10
+
11
+ 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
12
+
13
+ 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.
@@ -0,0 +1,14 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Build CI
6
+
7
+ on: [pull_request, push]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Run Build CI workflow
14
+ uses: adafruit/workflows-circuitpython-libs/build@main
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: 2021 Scott Shawcroft for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Failure help text
6
+
7
+ on:
8
+ workflow_run:
9
+ workflows: ["Build CI"]
10
+ types:
11
+ - completed
12
+
13
+ jobs:
14
+ post-help:
15
+ runs-on: ubuntu-latest
16
+ if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event == 'pull_request' }}
17
+ steps:
18
+ - name: Post comment to help
19
+ uses: adafruit/circuitpython-action-library-ci-failed@v1
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: GitHub Release Actions
6
+
7
+ on:
8
+ release:
9
+ types: [published]
10
+
11
+ jobs:
12
+ upload-release-assets:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Run GitHub Release CI workflow
16
+ uses: adafruit/workflows-circuitpython-libs/release-gh@main
17
+ with:
18
+ github-token: ${{ secrets.GITHUB_TOKEN }}
19
+ upload-url: ${{ github.event.release.upload_url }}
@@ -0,0 +1,19 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: PyPI Release Actions
6
+
7
+ on:
8
+ release:
9
+ types: [published]
10
+
11
+ jobs:
12
+ upload-release-assets:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Run PyPI Release CI workflow
16
+ uses: adafruit/workflows-circuitpython-libs/release-pypi@main
17
+ with:
18
+ pypi-username: ${{ secrets.pypi_username }}
19
+ pypi-password: ${{ secrets.pypi_password }}
@@ -0,0 +1,18 @@
1
+ # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ *.mpy
6
+ .idea
7
+ __pycache__
8
+ _build
9
+ *.pyc
10
+ .env
11
+ .python-version
12
+ build*/
13
+ bundles
14
+ *.DS_Store
15
+ .eggs
16
+ dist
17
+ **/*.egg-info
18
+ .vscode
@@ -0,0 +1,42 @@
1
+ # SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ repos:
6
+ - repo: https://github.com/python/black
7
+ rev: 22.3.0
8
+ hooks:
9
+ - id: black
10
+ - repo: https://github.com/fsfe/reuse-tool
11
+ rev: v0.14.0
12
+ hooks:
13
+ - id: reuse
14
+ - repo: https://github.com/pre-commit/pre-commit-hooks
15
+ rev: v4.2.0
16
+ hooks:
17
+ - id: check-yaml
18
+ - id: end-of-file-fixer
19
+ - id: trailing-whitespace
20
+ - repo: https://github.com/pycqa/pylint
21
+ rev: v2.15.5
22
+ hooks:
23
+ - id: pylint
24
+ name: pylint (library code)
25
+ types: [python]
26
+ args:
27
+ - --disable=consider-using-f-string
28
+ exclude: "^(docs/|examples/|tests/|setup.py$)"
29
+ - id: pylint
30
+ name: pylint (example code)
31
+ description: Run pylint rules on "examples/*.py" files
32
+ types: [python]
33
+ files: "^examples/"
34
+ args:
35
+ - --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code
36
+ - id: pylint
37
+ name: pylint (test code)
38
+ description: Run pylint rules on "tests/*.py" files
39
+ types: [python]
40
+ files: "^tests/"
41
+ args:
42
+ - --disable=missing-docstring,consider-using-f-string,duplicate-code