Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#121)
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.0 → v0.3.5](astral-sh/ruff-pre-commit@v0.2.0...v0.3.5)

* [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 3, 2024
1 parent ff01917 commit 5c13e28
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.2.0
rev: v0.3.5
hooks:
# Run the linter.
- id: ruff
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/generic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Generic widgets."""

import base64
import contextlib
import hashlib
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Pytest configuration."""

import pytest


Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/test_eval.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test for WidgetEvaluateSinglePassWeld."""

from weldx import WeldxFile
from weldx.asdf.cli.welding_schema import single_pass_weld_example
from weldx_widgets.widget_evaluate import WidgetEvaluateSinglePassWeld
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/test_gas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for WidgetShieldingGas."""

import pytest

from weldx import WeldxFile
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/test_generic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for generic widgets."""

import pandas as pd

import weldx
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/test_groove_sel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for groove selection widget."""

import pytest

import weldx
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/test_process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for GMAW widgets."""

import pytest

import weldx
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/tests/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing utils."""

import contextlib
import os

Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/visualization/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Type aliases shared in visualization package."""

from typing import List, Tuple, Union

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Base classes for widgets."""

import abc

from ipywidgets import HBox, Layout, Output, VBox
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
5. Parameters for the power source.
"""

from collections import defaultdict

import matplotlib.pyplot as plt
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Factory for commonly used widget elements."""

import contextlib

from ipywidgets import HTML, BoundedFloatText, Label, Layout, Text
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_gas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Widgets to handle shielding gas selection."""

from typing import List

from bidict import bidict
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_gmaw.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Widget to edit weldx.GMAW process data."""

from functools import lru_cache
from typing import Union

Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_groove_sel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Widgets to select groove type and tcp movement."""

from __future__ import annotations

import contextlib
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_measurement.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Widget to wrap around a measurement."""

from typing import List

from matplotlib import pylab as plt
Expand Down
1 change: 1 addition & 0 deletions weldx_widgets/widget_weldx_file.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Widget to handle a WeldxFile."""

from weldx import WeldxFile

__all__ = ["WidgetWeldxFile"]
Expand Down

0 comments on commit 5c13e28

Please sign in to comment.