Commit Graph
10 Commits
Author SHA1 Message Date
Nicola Soranzo 6713818165 Update scripts for modernised package build 2022-06-10 16:34:09 +01:00
Nicola Soranzo f2a42ba67e Run mypy on all packages' files
Also:
- mypy fixes.
- Use `with` statement to open/close files.
2022-05-30 22:38:55 +01:00
Nicola Soranzo 0c80836c34 Upgrade syntax to Python 3.7
using `ack --type=python -f | grep -v '^tools/' | xargs pyupgrade --py37-plus`

Also more refactoring of Python files in `packages/` .
2022-03-14 14:57:43 +00:00
Nicola Soranzo 6057338cbd Format files in packages/ with black
with:

```
find packages/ -name '*.py' | xargs black
```

The `packages/` directory is currently excluded in the `[tool.black]`
section of `pyproject.toml` because black follows symlinks.
2022-02-03 14:07:52 +00:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
John Chilton 885202cf1c Packages - fix commit_version to handle multiple dev releases. 2019-11-21 09:38:00 +01:00
John Chilton 500a5cc46d Fix regex linting in packages/build_scripts. 2019-05-28 16:38:39 -04:00
John Chilton 9c6482b5eb packages/ - Allow dev releases (sort of) 2019-05-28 16:13:24 -04:00
John Chilton a49debffdc packages/ - add Makefile(s) for building projects.
Uses a stripped down, updated variant of like Pulsar/Planemo/ephemeris Makefile stuff. Modified in dozens of ways for tags, version and path differences, etc.. Symbolic links to keep everything in line.
2019-05-28 16:13:07 -04:00