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
6d32719692
f-strings with flynt v0.69 on Bio/Graphics/
2021-10-08 12:24:25 +01:00
ae2c97bc67
black, version 19.10b0, on Bio.Graphics
2020-01-24 11:30:13 +00:00
a477dd90da
updates Bio.Graphics for pyton3 ( #2560 )
...
* updates Bio.Graphics for pyton3
* update tests
* need to check hasattr
* typo
2020-01-24 18:58:25 +09:00
3d5a84c891
ran black, version 19.10b, on Bio/Graphics/
2019-12-04 09:50:29 -05:00
b58c4b613b
Using tool unify to convert Bio/ to use double quotes
...
Using https://github.com/myint/unify for this:
$ unify --quote \" --in-place Bio/*.py Bio/*/*.py Bio/*/*/*.py
$ git checkout Bio/Restriction/Restriction_Dictionary.py
Note excluded automatically generated file
Bio/Restriction/Restriction_Dictionary.py
2019-08-02 14:10:22 +01:00
3f3bf7bc59
Clarify copyright + dual license Bio/Graphics/*.py
...
The named copyright holders and other contributors according
to the git log have all agreed to the dual licensing, see
GitHub issue #898 .
- Brad Chapman (@chapmanb)
- Brian Osborne (@bosborne)
- Carlos Peña (@carlosp420)
- Christian Brueffer (@cbrueffer)
- Connor McCoy (@cmccoy)
- Jeroen Van Goey (@BioGeek)
- Leighton Pritchard (@widdowquinn)
- Michiel de Hoon (@mdehoon)
- Peter Cock (@peterjc)
- Suresh Panneerselvam (@Amrithasuresh)
- Travis Wrightsman (@twrightsman)
- @morrme
2018-04-19 16:59:56 +01:00
67857bbf26
docstring work for Bio.Graphics
...
Making both pydocstyle and RST validator happy.
2017-06-16 15:25:12 +01:00
b894a50c69
PEP E124 closing bracket does not match visual indentation
...
Lots of white space changes, some docstring tweaking and
long line fixing too.
2016-06-13 15:46:31 +01:00
1119425f45
PEP8 E402 module level imports vs __docformat__ placement
...
This was mostly due to the latest version of the pep8
tool being stricter and wanting the __docformat__ line
after the module level imports.
Rather than moving them all, I removed them - and we'll
switch to using reStructuredText as the default when
converting the docstrings into API HTML pages for the
website.
This commit also includes assorted other PEP8 fixes which
our recommend git pre-commit hook spotted, and I fixed by
hand.
2016-05-10 17:13:46 +01:00
c62c9a4cf1
PEP8 white space
...
autopep8 --select E225,E226,E261,E302 -i Bio/Graphics/*.py
2015-01-04 04:08:39 +00:00
1e47cee152
explicit docformat definitions
2014-11-11 17:06:07 +09:00
9c81e9815a
restructured text progress 2
2014-11-11 17:04:56 +09:00
94f99be8f1
PEP8 fixes FSSP, GA, GenBank, Geo, Graphics
2014-11-02 18:51:07 +00:00
d18aab81d5
autopep8 E261 - Fix spacing after comment hash
...
$ autopep8 --version
autopep8 1.0.4
$ autopep8 -r -i --select E261 ...
2014-10-27 14:25:37 +00:00
14977ce666
Apply 2to3 ws_comma fixer (white space changes)
...
$ 2to3 --no-diffs -n -w -f ws_comma Bio BioSQL Tests Doc Scripts
2013-10-05 13:59:54 +01:00
764c5ed3cf
Update URL for ReportLab in MissingPythonDependencyError
2013-03-19 15:27:51 +00:00
a7db23aa4b
Add blank lines where needed (PEP8 E302).
2012-12-05 19:56:01 +08:00
9dfec35649
Zap redundant backslashes between brackets (PEP8 E502).
2012-12-05 10:14:03 +00:00
97d91e2629
Fix typos.
2012-11-26 16:33:32 +08:00
a594cd8a63
Fix a common typo.
2012-11-16 14:29:32 +00:00
cb1f54499c
Use ImportError subclass for missing Python dependencies (see Gentoo Bug 313125 with pydoc)
2010-10-18 14:40:43 +01:00
f35efefe5e
No code changes. Removing white space before ':' character to match PEP8 style guide.
2009-11-11 12:25:21 +00:00
7c3834cd10
Standardise how we invoke the different ReportLab renderers, and offer all the formats in all the modules. See Bug 2718
2009-03-20 15:46:35 +00:00
d56188a0e3
Check for ReportLab only when it actually used. No need to check it at
...
compile time.
2008-05-14 05:36:22 +00:00
fc907175e0
Whew, final thing to add! Added code for displaying pretty pictures using reportlab.
2001-12-14 15:38:11 +00:00