Content-Length: 1368666 | pFad | http://github.com/adafruit/circuitpython/commit/e277540f7a53f8f23cdc4d17aa0fb8a838cda4dc

A9 Switch to ruff like MicroPython · adafruit/circuitpython@e277540 · GitHub
Skip to content

Commit e277540

Browse files
committed
Switch to ruff like MicroPython
1 parent 7f0cc9e commit e277540

File tree

338 files changed

+1754
-940
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+1754
-940
lines changed

.pre-commit-config.yaml

+15-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.0.1
9+
rev: v5.0.0
1010
hooks:
1111
- id: check-yaml
1212
- id: end-of-file-fixer
@@ -39,10 +39,23 @@ repos:
3939
- id: formatting
4040
name: Formatting
4141
entry: python3 tools/codeformat.py
42-
types_or: [c, python]
42+
types: [c]
4343
language: system
4444
exclude: |
4545
(?x)^(
4646
lib/tinyusb|
4747
ports/raspberrypi/sdk
4848
)
49+
- repo: https://github.com/astral-sh/ruff-pre-commit
50+
# Ruff version.
51+
rev: v0.9.4
52+
hooks:
53+
# Run the linter.
54+
- id: ruff
55+
args: [ --fix ]
56+
# Run the formatter.
57+
- id: ruff-format
58+
- repo: https://github.com/tox-dev/pyproject-fmt
59+
rev: "v2.5.0"
60+
hooks:
61+
- id: pyproject-fmt

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adafruit/circuitpython/commit/e277540f7a53f8f23cdc4d17aa0fb8a838cda4dc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy