Skip to content

Commit 96e272e

Browse files
committed
Merge branch 'main' into sprite_button
# Conflicts: # .pylintrc
2 parents 17d1b2d + 47cb1d7 commit 96e272e

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,40 @@
33
# SPDX-License-Identifier: Unlicense
44

55
repos:
6-
- repo: https://github.com/python/black
6+
- repo: https://github.com/python/black
77
rev: 22.3.0
88
hooks:
9-
- id: black
10-
- repo: https://github.com/fsfe/reuse-tool
11-
rev: v0.12.1
9+
- id: black
10+
- repo: https://github.com/fsfe/reuse-tool
11+
rev: v0.14.0
1212
hooks:
13-
- id: reuse
14-
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v2.3.0
13+
- id: reuse
14+
- repo: https://github.com/pre-commit/pre-commit-hooks
15+
rev: v4.2.0
1616
hooks:
17-
- id: check-yaml
18-
- id: end-of-file-fixer
19-
- id: trailing-whitespace
20-
- repo: https://github.com/pycqa/pylint
17+
- id: check-yaml
18+
- id: end-of-file-fixer
19+
- id: trailing-whitespace
20+
- repo: https://github.com/pycqa/pylint
2121
rev: v2.11.1
2222
hooks:
23-
- id: pylint
23+
- id: pylint
2424
name: pylint (library code)
2525
types: [python]
2626
args:
2727
- --disable=consider-using-f-string
2828
exclude: "^(docs/|examples/|tests/|setup.py$)"
29-
- id: pylint
29+
- id: pylint
3030
name: pylint (example code)
3131
description: Run pylint rules on "examples/*.py" files
3232
types: [python]
3333
files: "^examples/"
3434
args:
35-
- --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code
36-
- id: pylint
35+
- --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code
36+
- id: pylint
3737
name: pylint (test code)
3838
description: Run pylint rules on "tests/*.py" files
3939
types: [python]
4040
files: "^tests/"
4141
args:
42-
- --disable=missing-docstring,consider-using-f-string,duplicate-code
42+
- --disable=missing-docstring,consider-using-f-string,duplicate-code

.pylintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
# run arbitrary code
1010
extension-pkg-whitelist=
1111

12-
# Add files or directories to the blacklist. They should be base names, not
12+
# Add files or directories to the ignore-list. They should be base names, not
1313
# paths.
1414
ignore=CVS
1515

16-
# Add files or directories matching the regex patterns to the blacklist. The
16+
# Add files or directories matching the regex patterns to the ignore-list. The
1717
# regex matches against base names, not paths.
1818
ignore-patterns=
1919

@@ -252,7 +252,7 @@ ignore-docstrings=yes
252252
ignore-imports=yes
253253

254254
# Minimum lines number of a similarity.
255-
min-similarity-lines=10
255+
min-similarity-lines=12
256256

257257

258258
[BASIC]

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Introduction
55
:target: https://docs.circuitpython.org/projects/display-button/en/latest/
66
:alt: Documentation Status
77

8-
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_Bundle/blob/main/badges/adafruit_discord.svg
8+
.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
99
:target: https://adafru.it/discord
1010
:alt: Discord
1111

0 commit comments

Comments
 (0)