Skip to content

Commit b082869

Browse files
committed
fix styles
1 parent 6bddc8f commit b082869

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/source/examples/super_simple_chart.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from pathlib import Path
22

33
import idom
4-
from idom.config import IDOM_WED_MODULES_DIR
54

65

76
file = Path(__file__).parent / "super_simple_chart.js"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ warn_redundant_casts = True
88
warn_unused_ignores = True
99

1010
[flake8]
11-
ignore = E203, E266, E501, W503, F811, N802
11+
ignore = E203, E266, E501, W503, F811, N802, N806
1212
max-line-length = 88
1313
max-complexity = 18
1414
select = B,C,E,F,W,T4,B9,N,ROH

src/idom/web/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ def _resolve_relative_url(base_url: str, rel_url: str) -> str:
123123

124124

125125
_JS_DEFAULT_EXPORT_PATTERN = re.compile(
126-
rf";?\s*export\s+default\s",
126+
r";?\s*export\s+default\s",
127127
)
128128
_JS_FUNC_OR_CLS_EXPORT_PATTERN = re.compile(
129-
rf";?\s*export\s+(?:function|class)\s+([a-zA-Z_$][0-9a-zA-Z_$]*)"
129+
r";?\s*export\s+(?:function|class)\s+([a-zA-Z_$][0-9a-zA-Z_$]*)"
130130
)
131131
_JS_GENERAL_EXPORT_PATTERN = re.compile(
132132
r";?\s*export(?=\s+|{)(.*?)(?:;|$)", re.MULTILINE

0 commit comments

Comments
 (0)