Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#3)
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.2.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.2.0...v4.5.0)
- [github.com/psf/black: 22.3.0 → 23.11.0](psf/black@22.3.0...23.11.0)
- [github.com/PyCQA/isort: 5.12.0 → 5.13.0](PyCQA/isort@5.12.0...5.13.0)
- [github.com/asottile/pyupgrade: v2.32.0 → v3.15.0](asottile/pyupgrade@v2.32.0...v3.15.0)
- [github.com/PyCQA/doc8: 0.11.1 → v1.1.1](PyCQA/doc8@0.11.1...v1.1.1)
- [github.com/john-hen/Flake8-pyproject: 1.1.0.post0 → 1.2.3](john-hen/Flake8-pyproject@1.1.0.post0...1.2.3)

* [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 Dec 11, 2023
1 parent f415443 commit 20d288b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: check-case-conflict
Expand All @@ -17,34 +17,34 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.11.0
hooks:
- id: black
args: ["--line-length", "100"]

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.0
hooks:
- id: isort
files: \.py$
args: [--profile=black]

- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://github.com/PyCQA/doc8
rev: 0.11.1
rev: v1.1.1
hooks:
- id: doc8
args: [--max-line-length=200]
exclude: docs/source/other/full-config.rst
stages: [manual]

- repo: https://github.com/john-hen/Flake8-pyproject
rev: 1.1.0.post0
rev: 1.2.3
hooks:
- id: Flake8-pyproject
alias: flake8
Expand Down
1 change: 0 additions & 1 deletion pycrdt_websocket/yroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@


class YRoom:

clients: list
ydoc: Doc
ystore: BaseYStore | None
Expand Down
1 change: 0 additions & 1 deletion pycrdt_websocket/ystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class YDocNotFound(Exception):


class BaseYStore(ABC):

metadata_callback: Callable[[], Awaitable[bytes] | bytes] | None = None
version = 2
_started: Event | None = None
Expand Down

0 comments on commit 20d288b

Please sign in to comment.