Skip to content

Commit 3ba8517

Browse files
committed
[chore] pre-commit cleanup
``` Fixed 1 error: - src/base/tests/test_util.py: 1 × RUF100 (unused-noqa) ``` Also one change from `ruff format` closes #45 Signed-off-by: Christophe Simonis (chs) <[email protected]>
1 parent 24ec957 commit 3ba8517

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/base/tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def test_direct_inherit_parents(self):
605605

606606
class TestNamedCursors(UnitTestCase):
607607
@staticmethod
608-
def exec(cr, which="", args=()): # noqa: A003
608+
def exec(cr, which="", args=()):
609609
cr.execute("SELECT * FROM ir_ui_view")
610610
if which:
611611
return getattr(cr, which)(*args)

src/util/convert_bootstrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Convert an XML/HTML document Bootstrap code from an older version to a newer one.
33
"""
4+
45
import logging
56
import os.path
67
import re

0 commit comments

Comments
 (0)