Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/Adafruit_CircuitPython_Slideshow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.8.3
Choose a base ref
...
head repository: adafruit/Adafruit_CircuitPython_Slideshow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.8.4
Choose a head ref
  • 3 commits
  • 13 files changed
  • 1 contributor

Commits on May 16, 2025

  1. change to ruff

    FoamyGuy committed May 16, 2025
    Copy the full SHA
    4505516 View commit details
  2. add display_text to optional reqs

    FoamyGuy committed May 16, 2025
    Copy the full SHA
    8bd918e View commit details

Commits on May 17, 2025

  1. Merge pull request #45 from adafruit/use_ruff

    change to ruff
    FoamyGuy authored May 17, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9634b96 View commit details
Showing with 161 additions and 475 deletions.
  1. +11 −0 .gitattributes
  2. +11 −32 .pre-commit-config.yaml
  3. +0 −399 .pylintrc
  4. +3 −3 README.rst
  5. +14 −28 adafruit_slideshow.py
  6. +3 −0 docs/api.rst
  7. +2 −6 docs/conf.py
  8. +3 −3 examples/slideshow_alignment_test.py
  9. +2 −1 examples/slideshow_simpletest.py
  10. +2 −1 examples/slideshow_tft_gizmo.py
  11. +1 −2 examples/slideshow_touch.py
  12. +1 −0 optional_requirements.txt
  13. +108 −0 ruff.toml
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2024 Justin Myers for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense

.py text eol=lf
.rst text eol=lf
.txt text eol=lf
.yaml text eol=lf
.toml text eol=lf
.license text eol=lf
.md text eol=lf
43 changes: 11 additions & 32 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,21 @@
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
# SPDX-FileCopyrightText: 2024 Justin Myers for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense

repos:
- repo: https://github.com/python/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/fsfe/reuse-tool
rev: v1.1.2
hooks:
- id: reuse
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/pylint
rev: v2.17.4
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
hooks:
- id: pylint
name: pylint (library code)
types: [python]
args:
- --disable=consider-using-f-string
exclude: "^(docs/|examples/|tests/|setup.py$)"
- id: pylint
name: pylint (example code)
description: Run pylint rules on "examples/*.py" files
types: [python]
files: "^examples/"
args:
- --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code
- id: pylint
name: pylint (test code)
description: Run pylint rules on "tests/*.py" files
types: [python]
files: "^tests/"
args:
- --disable=missing-docstring,consider-using-f-string,duplicate-code
- id: ruff-format
- id: ruff
args: ["--fix"]
- repo: https://github.com/fsfe/reuse-tool
rev: v3.0.1
hooks:
- id: reuse
Loading