Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #183

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading