Skip to content

Commit 9ae7ab6

Browse files
BrianMichelltasansal
authored andcommitted
Suppress unused linting error
1 parent 8e8b4ac commit 9ae7ab6

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

tests/integration/test_segy_import_export_masked.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def raw_headers_env(request: pytest.FixtureRequest) -> None:
318318
class TestNdImportExport:
319319
"""Test import/export of n-D SEG-Ys to MDIO, with and without selection mask."""
320320

321-
def test_import(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
321+
def test_import(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None: # noqa: ARG002
322322
"""Test import of an n-D SEG-Y file to MDIO.
323323
324324
NOTE: This test must be executed before running 'test_ingested_mdio', 'test_export', and
@@ -340,7 +340,12 @@ def test_import(self, test_conf: MaskedExportConfig, export_masked_path: Path, r
340340
overwrite=True,
341341
)
342342

343-
def test_ingested_mdio(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
343+
def test_ingested_mdio(
344+
self,
345+
test_conf: MaskedExportConfig,
346+
export_masked_path: Path,
347+
raw_headers_env: None, # noqa: ARG002
348+
) -> None:
344349
"""Verify if ingested data is correct.
345350
346351
NOTE: This test must be executed after the 'test_import' successfully completes
@@ -395,7 +400,7 @@ def test_ingested_mdio(self, test_conf: MaskedExportConfig, export_masked_path:
395400
expected = np.arange(1, num_traces + 1, dtype=np.float32).reshape(live_mask.shape)
396401
assert np.array_equal(actual, expected)
397402

398-
def test_export(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
403+
def test_export(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None: # noqa: ARG002
399404
"""Test export of an n-D MDIO file back to SEG-Y.
400405
401406
NOTE: This test must be executed after the 'test_import' and 'test_ingested_mdio'
@@ -432,7 +437,12 @@ def test_export(self, test_conf: MaskedExportConfig, export_masked_path: Path, r
432437
assert_array_equal(desired=expected_traces.header, actual=actual_traces.header)
433438
assert_array_equal(desired=expected_traces.sample, actual=actual_traces.sample)
434439

435-
def test_export_masked(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
440+
def test_export_masked(
441+
self,
442+
test_conf: MaskedExportConfig,
443+
export_masked_path: Path,
444+
raw_headers_env: None, # noqa: ARG002
445+
) -> None:
436446
"""Test export of an n-D MDIO file back to SEG-Y with masked export.
437447
438448
NOTE: This test must be executed after the 'test_import' and 'test_ingested_mdio'

0 commit comments

Comments
 (0)