Skip to content

Commit ab86837

Browse files
committed
fix: duplicate noqa directive
1 parent ac545cb commit ab86837

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_proteomics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async def test_ftp_client(self):
7777
assert await client.quit() is None
7878

7979
@pytest.mark.skip(reason="pyftpdlib is broken, no way to test this")
80-
def test_reader(self, ftpserver, fixture_ftp_server, ftp_file_names): # noqa: F811
80+
def test_reader(self, ftpserver, fixture_ftp_server, ftp_file_names):
8181
# Use pytest_localftpserver and fixtures.fixture_ftp_server.fix
8282
# Now we can get login information for our local FTP server
8383
file_extensions: list[str] = ["raw"]

tests/unit/test_rnaseq_preprocess.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ async def test_build_from_tab_invalid_file(self):
4444
await _STARinformation.build_from_tab(TestSTARInformation.invalid_data)
4545

4646

47-
def test_sample_name_from_filepath(any_como_input_filepath: Path): # noqa: F811
47+
def test_sample_name_from_filepath(any_como_input_filepath: Path):
4848
expected = "_".join(any_como_input_filepath.stem.split("_")[:2])
4949
assert _sample_name_from_filepath(any_como_input_filepath) == expected
5050

5151

52-
def test_organize_gene_counts_files(como_input_data_directory: Path): # noqa: F811
52+
def test_organize_gene_counts_files(como_input_data_directory: Path):
5353
metrics: list[_StudyMetrics] = _organize_gene_counts_files(como_input_data_directory)
5454
for metric in metrics:
5555
assert len(metric.sample_names) == metric.num_samples == len(metric.count_files) == len(metric.strand_files)
@@ -66,7 +66,7 @@ def test_organize_gene_counts_files(como_input_data_directory: Path): # noqa: F
6666

6767

6868
@pytest.mark.asyncio
69-
async def test_process_first_multirun_sample(strand_filepath: Path, all_gene_count_filepaths: list[Path]): # noqa: F811
69+
async def test_process_first_multirun_sample(strand_filepath: Path, all_gene_count_filepaths: list[Path]):
7070
result: pd.DataFrame = await _process_first_multirun_sample(strand_filepath, all_gene_count_filepaths)
7171
assert result.columns[0] == "ensembl_gene_id"
7272
assert len(result.columns) == 2

0 commit comments

Comments
 (0)