8 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
57056bbfc4 ruff format v0.3.1, black v24.2.0
Reverted unwanted changes (mostly arrays in tests, but also
some whitespace in doctests).

Remaining changes are standardising spacing between module
docstring and imports, and lower-case \x<hex> in strings.
2024-03-14 11:05:43 +00: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
a37e6dc995 Apply black style to test_Phylo* files, version 19.10b0.
test_Phylo.py
test_Phylo_CDAO.py
test_Phylo_matplotlib.py
test_Phylo_networkx.py
test_Phylo_NeXML.py
test_PhyloXML.py
2020-02-13 08:20:24 +00:00
cc4a30eb70 updating phylo tests for python3 2020-02-10 10:01:16 +00:00
827429d3d8 remove python2 import for StringIO 2019-12-27 16:45:02 +00:00
1b9e569a7f Using tool unify to convert Tests/ to use double quotes
Using https://github.com/myint/unify for this:

$ unify --quote \" --in-place Tests/*.py Tests/*/*.py
2019-08-02 14:10:22 +01:00
e42a130b3a Split Bio.Phylo tests using networkx and matplotlib 2016-06-17 14:35:19 +01:00