Skip to content

Commit

Permalink
undo pyupgrade breaking trio103 eval file, exclude it in pre-commit
Browse files Browse the repository at this point in the history
revert adding ipdb to tox (was briefly used when testing stuff)
  • Loading branch information
jakkdl committed Feb 15, 2024
1 parent c18c701 commit 3cf9d97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ repos:
hooks:
- id: pyupgrade
args: [--py39-plus]
exclude: tests/eval_files/trio103.py

- repo: https://github.com/pycqa/isort
rev: 5.13.2
Expand Down
5 changes: 3 additions & 2 deletions tests/eval_files/trio103.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ def foo() -> Any: ...
except (
my_super_mega_long_exception_so_it_gets_split,
SyntaxError,
BaseException, # TRIO103_trio: 4, "BaseException"
ValueError, # no complaint on this line
BaseException, # TRIO103_trio: 4, "BaseException"
ValueError,
BaseException, # no complaint on this line
):
...

Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ deps =
hypothesis
hypothesmith
trio
ipdb
commands =
pytest {posargs} #{posargs:-n auto}

Expand Down

0 comments on commit 3cf9d97

Please sign in to comment.