Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#22)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/PyCQA/autoflake: v2.2.1 → v2.3.1](PyCQA/autoflake@v2.2.1...v2.3.1)
- [github.com/ambv/black: 23.12.0 → 24.4.0](psf/black@23.12.0...24.4.0)
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0)
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Apr 16, 2024
1 parent 721042a commit 44b861b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -14,7 +14,7 @@ repos:
- id: name-tests-test
- id: trailing-whitespace
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
rev: v2.3.1
hooks:
- id: autoflake
args:
Expand All @@ -28,18 +28,18 @@ repos:
hooks:
- id: isort
- repo: 'https://github.com/ambv/black'
rev: 23.12.0
rev: 24.4.0
hooks:
- id: black
- repo: 'https://github.com/PyCQA/flake8'
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-black>=0.1.1
language_version: python3
- repo: 'https://github.com/asottile/pyupgrade'
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args:
Expand Down
1 change: 0 additions & 1 deletion pycrobit.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def colorize(pycrobit_string: str, color_map: ColorMap) -> str:


class Pycrobit:

"""A context manager that act similarly as a microbit but in Python."""

DEFAULT_FRAMERATE_SECOND = 1.0
Expand Down
1 change: 1 addition & 0 deletions tests/pycrobit_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Basic tests for pycrobit."""

import pytest

from pycrobit import Fore, Pycrobit
Expand Down

0 comments on commit 44b861b

Please sign in to comment.