Skip to content

Commit

Permalink
build(deps): update to ruff 0.6.1 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Aug 22, 2024
1 parent de92098 commit 2f07089
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: fix-byte-order-marker
- id: mixed-line-ending
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.15"
rev: "v0.6.1"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev = [
lint = [
"black~=24.1",
"codespell[toml]~=2.2",
"ruff~=0.5.7",
"ruff~=0.6.1",
"yamllint~=1.34"
]
types = [
Expand Down Expand Up @@ -221,7 +221,7 @@ lint.select = [ # Base linting rule selections.
"RUF001", "RUF002", "RUF003", # Ambiguous unicode characters
"RUF005", # Encourages unpacking rather than concatenation
"RUF008", # Do not use mutable default values for dataclass attributes
"RUF011", # Don't use static keys in dict comprehensions.
"B035", # Don't use static keys in dict comprehensions.
"RUF013", # Prohibit implicit Optionals (PEP 484)
"RUF100", # #noqa directive that doesn't flag anything
"RUF200", # If ruff fails to parse pyproject.toml...
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import pytest


@pytest.fixture()
@pytest.fixture
def project_main_module() -> types.ModuleType:
"""Fixture that returns the project's principal package (imported).
Expand Down

0 comments on commit 2f07089

Please sign in to comment.