Skip to content

Commit d2e9edd

Browse files
allow slight increase in function complexity and fix version bound on test
1 parent 1195c3e commit d2e9edd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ __version__ = "{version}"
7474
extra-standard-library = ["opcode"]
7575

7676
[tool.ruff.lint.mccabe]
77-
max-complexity = 42
77+
max-complexity = 43
7878

7979
[tool.mypy]
8080
follow_imports = "normal"

tests/test_misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def func(test):
3939

4040
# without line numbers
4141
enum_repr = "<Compare.EQ_CAST: 18>" if PY313 else "<Compare.EQ: 2>"
42-
if PY312:
42+
if PY314:
4343
expected = f"""
4444
RESUME 0
4545
LOAD_FAST_BORROW 'test'

0 commit comments

Comments
 (0)