Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #79

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -19,11 +19,11 @@ repos:
- id: check-docstring-first

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
rev: 23.10.1
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.290
rev: v0.1.3
hooks:
- id: ruff
14 changes: 7 additions & 7 deletions tests/bundlers/test_venv_bundler.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_bundler_should_build_a_new_venv_with_existing_python(
• Bundling simple-project (1.2.3) into {tmpdir}: Installing dependencies
• Bundling simple-project (1.2.3) into {tmpdir}: Installing simple-project (1.2.3)
• Bundled simple-project (1.2.3) into {tmpdir}
""" # noqa: E501
"""
assert expected == io.fetch_output()


Expand All @@ -93,7 +93,7 @@ def test_bundler_should_build_a_new_venv_with_given_executable(
• Bundling simple-project (1.2.3) into {tmpdir}: Installing dependencies
• Bundling simple-project (1.2.3) into {tmpdir}: Installing simple-project (1.2.3)
• Bundled simple-project (1.2.3) into {tmpdir}
""" # noqa: E501
"""
assert expected == io.fetch_output()


Expand All @@ -115,7 +115,7 @@ def test_bundler_should_build_a_new_venv_if_existing_venv_is_incompatible(
• Bundling simple-project (1.2.3) into {tmpdir}: Installing dependencies
• Bundling simple-project (1.2.3) into {tmpdir}: Installing simple-project (1.2.3)
• Bundled simple-project (1.2.3) into {tmpdir}
""" # noqa: E501
"""
assert expected == io.fetch_output()


Expand Down Expand Up @@ -160,7 +160,7 @@ def test_bundler_should_remove_an_existing_venv_if_forced(
• Bundling simple-project (1.2.3) into {path}: Installing dependencies
• Bundling simple-project (1.2.3) into {path}: Installing simple-project (1.2.3)
• Bundled simple-project (1.2.3) into {path}
""" # noqa: E501
"""
assert expected == io.fetch_output()


Expand All @@ -184,7 +184,7 @@ def test_bundler_should_fail_when_installation_fails(
• Bundling simple-project (1.2.3) into {tmpdir}: Creating a virtual environment using Python {python_version}
• Bundling simple-project (1.2.3) into {tmpdir}: Installing dependencies
• Bundling simple-project (1.2.3) into {tmpdir}: Failed at step Installing dependencies
""" # noqa: E501
"""
assert expected == io.fetch_output()


Expand Down Expand Up @@ -220,7 +220,7 @@ def test_bundler_should_display_a_warning_for_projects_with_no_module(
• Bundling simple-project (1.2.3) into {path}: Installing simple-project (1.2.3)
• Bundled simple-project (1.2.3) into {path}
• The root package was not installed because no matching module or package was found.
""" # noqa: E501
"""
assert expected == io.fetch_output()


Expand Down Expand Up @@ -266,5 +266,5 @@ def test_bundler_can_filter_dependency_groups(
• Bundling simple-project (1.2.3) into {path}: Installing dependencies
• Bundling simple-project (1.2.3) into {path}: Installing simple-project (1.2.3)
• Bundled simple-project (1.2.3) into {path}
""" # noqa: E501
"""
assert expected == io.fetch_output()