Peter Cock

Results 165 issues of Peter Cock

Work in progress exploring using ``rstcheck`` which adds support for RST blocks in other languages like Python, Bash or JSON. Would address #22

Testing with Biopython (which recently finished applying black to the entire code base), numbers on a multi-core Mac: Black alone (best of three) ``` $ time black --check Bio/ BioSQL/...

Consider we have a user's "global" black configuration in ``~/repositories/black.toml`` and multiple projects under this folder, where ``~/repositories/project/.flake8`` contains: ``` [flake8] black_config=../black.toml ``` Then, you might run: ``` cd ~/repositories/project/...

bug
question

For #9, pull request #11 added ``flake8 --black-config /path/to/black.toml`` support (also possible via your flake8 configuration file). If this configuration is not set, the current behaviour is fine (follow black...

bug
enhancement

Migrate code from astropysics to successor satrapy which has now reached v1.0

This is now in astropy v1.0, see https://github.com/eteq/astropysics/issues/21 and example http://docs.astropy.org/en/v1.0.1/coordinates/observing-example.html This should allow replacement of `alt_az_to_equatorial` and `equatorial_to_alt_az` in `telescope_server.py`

Upload images filenames can be entirely lower case.

Reported by @vincentdavis on issue #1 Some images are scaled, e.g. in http://biopython.org/wiki/Phylo or its MediaWiki equivalent https://github.com/peterjc/peterjc.github.io/blob/master/wiki/Phylo.mediawiki ``` [[File:phylo-draw-apaf1.png|256px|thumb|right|Rooted phylogram, via Phylo.draw]] ``` which becomes after conversion to GFM...

Sometimes MediaWiki pages have slashes in the names, which become child folders after migration. See https://github.com/OBF/OBF.github.io/issues/1 where we have `/wiki/BOSC_2015.md` but also the folder `/wiki/BOSC_2015/` which means the Jekyll website...

MediaWiki seems to accept case variants like this, which `convert.py` did not spot, e.g.: ``` [[category:Cookbook]] ```