Skip to content

Commit 15bd641

Browse files
committed
CM-59977 formatting
1 parent f9f7a72 commit 15bd641

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

tests/cli/files_collector/sca/npm/test_restore_deno_dependencies.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ def test_deno_manifest_files_match(self, restore_deno: RestoreDenoDependencies,
3232
assert restore_deno.is_project(doc) is True
3333

3434
@pytest.mark.parametrize('filename', ['package.json', 'tsconfig.json', 'deno.ts', 'main.ts', 'deno.lock'])
35-
def test_non_deno_manifest_files_do_not_match(
36-
self, restore_deno: RestoreDenoDependencies, filename: str
37-
) -> None:
35+
def test_non_deno_manifest_files_do_not_match(self, restore_deno: RestoreDenoDependencies, filename: str) -> None:
3836
doc = Document(filename, '')
3937
assert restore_deno.is_project(doc) is False
4038

tests/cli/files_collector/sca/python/test_restore_poetry_dependencies.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ def test_pyproject_toml_with_poetry_lock_matches(
3737
)
3838
assert restore_poetry.is_project(doc) is True
3939

40-
def test_pyproject_toml_with_tool_poetry_section_matches(
41-
self, restore_poetry: RestorePoetryDependencies
42-
) -> None:
40+
def test_pyproject_toml_with_tool_poetry_section_matches(self, restore_poetry: RestorePoetryDependencies) -> None:
4341
content = '[tool.poetry]\nname = "my-project"\nversion = "1.0.0"\n'
4442
doc = Document('pyproject.toml', content)
4543
assert restore_poetry.is_project(doc) is True
@@ -64,9 +62,7 @@ def test_setup_py_does_not_match(self, restore_poetry: RestorePoetryDependencies
6462
doc = Document('setup.py', 'from setuptools import setup\nsetup()\n')
6563
assert restore_poetry.is_project(doc) is False
6664

67-
def test_empty_content_does_not_match(
68-
self, restore_poetry: RestorePoetryDependencies, tmp_path: Path
69-
) -> None:
65+
def test_empty_content_does_not_match(self, restore_poetry: RestorePoetryDependencies, tmp_path: Path) -> None:
7066
(tmp_path / 'pyproject.toml').write_text('')
7167
doc = Document(
7268
str(tmp_path / 'pyproject.toml'),

0 commit comments

Comments
 (0)