Skip to content

Commit 2e1a955

Browse files
committed
Enable tests, remove refurb.
1 parent 413dd2e commit 2e1a955

File tree

4 files changed

+0
-15
lines changed

4 files changed

+0
-15
lines changed

.pre-commit-config.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ repos:
2929
hooks:
3030
- id: ruff-format
3131
- id: ruff
32-
- repo: https://github.com/dosisod/refurb
33-
rev: v2.0.0
34-
hooks:
35-
- id: refurb
3632
- repo: https://github.com/executablebooks/mdformat
3733
rev: 0.7.22
3834
hooks:

pyproject.toml

-8
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ source = "vcs"
110110
allow-direct-references = true
111111

112112
[tool.ruff]
113-
target-version = "py39"
114113
fix = true
115114
unsafe-fixes = true
116115
extend-include = ["*.ipynb"]
@@ -197,13 +196,6 @@ disable_error_code = ["import-not-found"]
197196
module = ["_pytask.hookspecs"]
198197
disable_error_code = ["empty-body"]
199198

200-
[tool.refurb]
201-
python_version = "3.9"
202-
203-
[[tool.refurb.amend]]
204-
path = "src/_pytask/mark/structures.py"
205-
ignore = ["FURB173"]
206-
207199
[tool.coverage.report]
208200
exclude_also = [
209201
"pragma: no cover",

tests/test_debugging.py

-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ def task_example():
173173

174174

175175
@pytest.mark.end_to_end
176-
@pytest.mark.xfail(reason="#312")
177176
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
178177
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
179178
def test_pdb_interaction_capturing_simple(tmp_path): # pragma: no cover
@@ -285,7 +284,6 @@ def task_2():
285284

286285

287286
@pytest.mark.end_to_end
288-
@pytest.mark.xfail(reason="#312")
289287
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
290288
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
291289
def test_pdb_interaction_capturing_twice(tmp_path): # pragma: no cover

tests/test_live.py

-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def test_live_execution_displays_subset_of_table(capsys, tmp_path, n_entries_in_
189189

190190

191191
@pytest.mark.unit
192-
@pytest.mark.xfail(reason="See #377.")
193192
def test_live_execution_skips_do_not_crowd_out_displayed_tasks(capsys, tmp_path):
194193
path = tmp_path.joinpath("task_module.py")
195194
task = Task(base_name="task_example", path=path, function=lambda x: x)

0 commit comments

Comments
 (0)