Skip to content

Commit 93ece38

Browse files
committed
Linr
1 parent e290a63 commit 93ece38

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

python/formate_js/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,8 @@ def javascript_hook(
7676
kwargs.setdefault("indent_width", len(indent_setting))
7777

7878
config = Configuration(**kwargs)
79-
8079
filename_p = PathPlus(formate_filename)
81-
8280
options = FormatTextOptions(filename_p.as_posix(), filename_p.suffix, source, config)
83-
8481
result = format_text(options)
8582

8683
if result is None:

repo_helper.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ tox_unmanaged:
4040
entry_points:
4141
formate_hooks:
4242
- "format_js=formate_js:javascript_hook"
43-

tests/test_formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def parse_single_spec(file_name: PathPlus, message_line: str, lines: List[str])
8989
specs = get_specs()
9090

9191

92-
def param_for_spec(spec: Spec, **kwargs):
92+
def param_for_spec(spec: Spec, **kwargs): # noqa: MAN002
9393
return pytest.param(spec, id=spec.message, **kwargs)
9494

9595

0 commit comments

Comments
 (0)