Skip to content

Commit 607ab16

Browse files
committed
Allow assert in tests
1 parent 5d148ab commit 607ab16

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ system-packages = true
3737
[tool.ruff.lint.per-file-ignores]
3838
"src/ScrollableContainers/__init__.py" = ["F401", "N999"]
3939
"src/ScrollableContainers/_tk.py" = ["PLR2004"]
40+
"tests/**" = ["S101"]

tests/test_tk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import unittest
2-
import tkinter as tk
2+
33
from ScrollableContainers import ScrollableFrameTk
44

5+
56
class TestTk(unittest.TestCase):
67
def setUp(self):
78
self.scrollable_frame = ScrollableFrameTk()

0 commit comments

Comments
 (0)