Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)

* [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] committed Mar 13, 2024
1 parent d3a20fd commit 3078d94
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
language: python
files: \.py$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.2"
rev: "v0.3.2"
hooks:
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-prettier
Expand All @@ -25,7 +25,7 @@ repos:
language: python
additional_dependencies: [pygments, restructuredtext_lint]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.9.0
hooks:
- id: mypy
files: ^(src/|tests/)
Expand Down
1 change: 1 addition & 0 deletions examples/drag_and_drop/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Display drag from the app into the graph widget and the event bridge.
This is similar to the hello world sample.
"""

import sys

from PyQt5 import QtWidgets
Expand Down
1 change: 1 addition & 0 deletions examples/hello_world/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
We all love "hello world" examples =)
"""

import sys

from PyQt5 import QtWidgets
Expand Down
1 change: 1 addition & 0 deletions examples/styles/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Display the use of styles. This is similar to the hello world sample.
"""

import sys

from PyQt5 import QtWidgets
Expand Down
1 change: 1 addition & 0 deletions scripts/svg_to_stencil.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* it isn't feature complete, as it is evolving according new SVGs are created
and converted to stencils.
"""

import abc
import itertools
import os
Expand Down
1 change: 1 addition & 0 deletions src/qmxgraph/cell_bounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- :attr:`qmxgraph.widget.EventsBridge.on_cell_geometry_changed`
"""

from typing import Any
from typing import Optional

Expand Down
1 change: 1 addition & 0 deletions src/qmxgraph/common_testing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Those are helper tools that could help in applications' tests.
"""

from typing import cast
from typing import List

Expand Down
1 change: 1 addition & 0 deletions src/qmxgraph/decoration_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- :meth:`qmxgraph.api.QmxGraphApi.update_table`
"""

from functools import lru_cache
from typing import Dict
from typing import List
Expand Down
1 change: 1 addition & 0 deletions src/qmxgraph/mime.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
}
"""

import json

import qmxgraph.constants
Expand Down
1 change: 1 addition & 0 deletions src/qmxgraph/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
used embedded with QGraphWidget. Helpful to test graph widget features using
Selenium, for instance.
"""

import os
from contextlib import contextmanager

Expand Down

0 comments on commit 3078d94

Please sign in to comment.