Skip to content

Commit

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

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.265 → v0.0.270](astral-sh/ruff-pre-commit@v0.0.265...v0.0.270)

* Update .pre-commit-config.yaml

Update ruff-pre-commit to v0.0.272 -> https://github.com/astral-sh/ruff-pre-commit/releases/tag/v0.0.272

* Removed option from Ruff

Fixes an issue with astral-sh/ruff#4313

* [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>
Co-authored-by: Jesse Spangenberger <flamusdiu@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] and flamusdiu authored Jun 12, 2023
1 parent 2595710 commit 9c2827c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repos:
language_version: python3

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.265
rev: v0.0.272
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ xleapp = "xleapp.cli:cli"
[tool.ruff]
format = "grouped"
line-length = 90
update-check = false
target-version = "py310"
fix = true
unfixable = ["E711"]
Expand Down
5 changes: 4 additions & 1 deletion src/xleapp/artifact/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
from xleapp.helpers import utils

from .abstract import AbstractBase as AbstractBase
from .abstract import Artifact as Artifact
from .decorators import Search as Search
from .decorators import core_artifact as core_artifact
from .decorators import long_running_process as long_running_process
from .service import Artifacts as Artifacts
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from .abstract import Artifact as Artifact


logger_log = logging.getLogger("xleapp.logfile")
Expand Down

0 comments on commit 9c2827c

Please sign in to comment.