Skip to content

Commit

Permalink
Update ruff >= 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhwaja committed Sep 5, 2024
1 parent de43c1d commit b0f4acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pytest = ">=7.1"
pytest-cov = ">=2.10.1"
pytest-asyncio = ">=0.16.0"
poethepoet = ">=0.16.4"
ruff = ">=0.3.1"
ruff = ">=0.6.3"

[tool.poe.tasks]
lint = "ruff check src tests"
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def pytest_addoption(parser):
parser.addoption('--collect', action='store', default='test', help=f'Valid options are {",".join(_COLLECT_OPTIONS)}')

@fixture()
@fixture
def collect(request):
value = request.config.getoption('--collect')
if value not in _COLLECT_OPTIONS:
Expand Down

0 comments on commit b0f4acf

Please sign in to comment.