Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete dead code
  • Loading branch information
maurycy committed Sep 1, 2025
commit 88427d4dcc6d700f1b7214e554b2bb02b4a6a1c8
1 change: 0 additions & 1 deletion pyperformance/_benchmark_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ def _resolve(project, tool, filename):
if target is None:
target = field
if field == 'url':
_repo = project.get('urls', {}).get('repository')
raise NotImplementedError
elif not resolved.get(target):
value = project.get(field)
Expand Down
3 changes: 0 additions & 3 deletions pyperformance/_pyproject_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ def _check_file_or_text(table, rootdir, requirefiles, extra=None):
raise ValueError('"file" and "text" are mutually exclusive')
kind = 'file' if requirefiles else None
_check_relfile(table['file'], rootdir, kind)
else:
_text = table['text']
# XXX Validate it?


def _normalize_project(data, rootdir, name, requirefiles, **_ignored):
Expand Down
6 changes: 3 additions & 3 deletions pyperformance/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ def div():
print()

def expect_success(*args):
_text = self.run_pyperformance(
self.run_pyperformance(
*args,
capture=None,
)

def expect_failure(*args):
_text = self.run_pyperformance(
self.run_pyperformance(
*args,
capture=None,
exitcode=1,
Expand Down Expand Up @@ -148,7 +148,7 @@ def test_run_and_show(self):
# --debug-single-value: benchmark results don't matter, we only
# check that running benchmarks don't fail.
# XXX Capture and check the output.
_text = self.run_pyperformance(
self.run_pyperformance(
'run',
'-b', 'all',
'--debug-single-value',
Expand Down
Loading