Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and chrysle committed Jan 22, 2024
1 parent db7b044 commit cbc8f01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3353,9 +3353,6 @@ def test_default_config_option(pip_conf, runner, make_config_file, tmpdir_cwd):

out = runner.invoke(cli)

print(out.stdout)
print(out.stderr)

assert out.exit_code == 0
assert "Dry-run, so nothing updated" in out.stderr

Expand Down
4 changes: 3 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,9 @@ def test_select_config_file_prefers_pip_tools_toml_over_pyproject_toml(tmpdir_cw
assert select_config_file(()) == pip_tools_file


def test_select_config_file_with_config_file_in_different_directory(tmpdir_cwd, make_config_file):
def test_select_config_file_with_config_file_in_different_directory(
tmpdir_cwd, make_config_file
):
config_file = make_config_file("dry-run", True, ".pip-tools.toml")

(tmpdir_cwd / "subdir").mkdir()
Expand Down

0 comments on commit cbc8f01

Please sign in to comment.