6 Commits

Author SHA1 Message Date
de0bb21fb3 Apply isort (forcing single lines, not sorting by type) via ruff
$ ruff check --fix --select=I \
  --config=lint.isort.force-single-line=true \
  --config=lint.isort.order-by-type=false \
  BioSQL/ Bio/ Tests/ Scripts/ Doc/ setup.py

Using ruff version 0.4.10
2024-06-26 15:31:39 +09:00
08024eb0e1 Added tests for the changes 2024-06-26 10:44:57 +09:00
f40d6b7aa7 ruff fix most F401 unused imports in Tests
(base) Peters-iMac:biopython pc40583$ ruff check --fix --select F401 Tests/ --exclude "Tests/common_BioSQL_online.py,Tests/seq_tests_common.py,Tests/test_SearchIO_blast_text.py,Tests/test_codonalign.py,Tests/test_Cluster.py,Tests/test_codonalign.py"
...
Found 82 errors (54 fixed, 28 remaining)
2023-11-02 09:34:48 +00:00
0938871295 black v23.9.1
Had to tweak four conflicts with D202
2023-10-05 08:47:54 +01:00
58ddb661ff Remove call to float (#4108)
* float

* update
2022-11-18 22:48:10 +09:00
7376cfcc02 Break test_PDB.py in multiple smaller, modular, tests. (#3220)
* Simplified numpy imports

* Isolated Bio.PDB DSSP tests

* Isolated *Exposure tests

* Isolated ResidueDepth and MSMS tests

* Replaced function + global var by setUpClass

* Removed writer tests (PDBIO/MMCIFIO)

* Removed more writer tests (PDBIO)

* Isolated tests for PDBIO

* Isolated tests for MMCIFIO

* Removed unused function

* Missed one test before

* Isolated tests for PPBuilder and CaPPBuilder

* More cleanup...

* Use raise instead of self.skipTest

* Isolated PDBParser tests

* Isolated SMCRA tests

* Moved header tests to the appropriate file

* Silenced warnings in a couple of tests with QUIET=1

* Commented out time-consuming test

* Trigger
2020-08-17 15:28:58 -07:00