Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#104)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Feb 20, 2024
1 parent 9ec6714 commit cd68ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.12.1"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.1"
rev: "v0.2.2"
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion src/tox_gh/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def tox_add_core_config(core_conf: ConfigSet, state: State) -> None:
if not core_conf["is_on_gh_action"]:
bail_reason = "tox is not running in GitHub Actions"
elif getattr(state.conf.options.env, "is_default_list", False) is False:
bail_reason = f"envlist is explicitly given via {'TOXENV'if os.environ.get('TOXENV') else '-e flag'}"
bail_reason = f"envlist is explicitly given via {'TOXENV' if os.environ.get('TOXENV') else '-e flag'}"
if bail_reason:
logging.debug("tox-gh won't override envlist because %s", bail_reason)
return
Expand Down

0 comments on commit cd68ba8

Please sign in to comment.