Skip to content

Commit 98ff057

Browse files
committed
linting with ruff
1 parent 5a4152b commit 98ff057

5 files changed

Lines changed: 3 additions & 6 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ Cargo.lock
1212

1313
# MSVC Windows builds of rustc generate these, which store debugging information
1414
*.pdb
15-
15+
.pytest-cache
16+
.ruff-cache
1617
# RustRover
1718
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
1819
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore

microbiorust-py/benchmarks/bench_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def track_energy(self, engine, context):
8787
tracker = OfflineEmissionsTracker(measure_power_secs=0.1, log_level="CRITICAL", country_iso_code="USA")
8888
tracker.start()
8989

90-
result = None
90+
#result = None
9191
try:
9292
self._run_repeatedly(engine, context, iterations)
9393
finally:

microbiorust-py/benchmarks/bp_equivalent_gbktofaacount.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import sys
2-
import os
32
from Bio import SeqIO
43

54
def main():

microbiorust-py/bp_gbk2faa.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22

33
from Bio import SeqIO
4-
from Bio.Seq import Seq
54

65

76
genbank_file = open("Rhiz3841.gbk.gb",'r')

microbiorust-py/tests/test_mbr.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import os
2-
import tempfile
32
import textwrap
4-
from pathlib import Path
53

64
import microbiorust
75
import pytest

0 commit comments

Comments
 (0)