Skip to content

Commit 10cceaa

Browse files
committed
Merge branch 'main' into feat/better-python-cache
2 parents 01b6ea7 + 698bc81 commit 10cceaa

File tree

3 files changed

+39
-26
lines changed

3 files changed

+39
-26
lines changed

poetry.lock

Lines changed: 32 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pytest-cov = "^4.1.0"
4141
shed = "^0.10.9"
4242

4343
toml = "^0.10.2"
44-
ruff = "^0.0.282"
44+
ruff = "^0.4.5"
4545

4646
[tool.poe.tasks]
4747
# Code linting
@@ -80,6 +80,10 @@ build-backend = "poetry.core.masonry.api"
8080
[tool.ruff]
8181
# Same as Black.
8282
line-length = 88
83+
target-version = "py38"
84+
extend-exclude = ["tests/examples/*.py"]
85+
86+
[tool.ruff.lint]
8387
select = ["ALL"]
8488
ignore = [
8589
# "D", # "No docs"
@@ -93,9 +97,7 @@ ignore = [
9397
"D213",
9498
"FIX002", # `TODO` comments are fine when linking to issues
9599
]
96-
target-version = "py38"
97-
extend-exclude = ["tests/examples/*.py"]
98100

99-
[tool.ruff.per-file-ignores]
101+
[tool.ruff.lint.per-file-ignores]
100102
"tests/**/*.py" = ["S101", "D", "ANN201"]
101103
"docs/conf.py" = ["INP001", "A001"]

tests/test_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
@pytest.fixture()
48-
def empty_cache() -> None:
48+
def empty_cache() -> None: # noqa: PT004
4949
if CACHE_DIR.is_dir():
5050
shutil.rmtree(CACHE_DIR, ignore_errors=True)
5151

0 commit comments

Comments
 (0)