Dannon Baker
623a5e165a
Apply black formatting.
...
Apply isort.
2022-02-03 07:42:20 -05:00
Nicola Soranzo
452aba9ee3
Fix remaining issues reported by bugbear; add it to flake8 reqs
2021-01-16 05:58:15 +00: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
Nicola Soranzo
21b44bf348
Fix all E201 and E202 style errors
...
using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
2017-08-17 11:35:39 +01:00
Nicola Soranzo
3d57c22b63
Fix I201 errors from flake8-import-order
...
Also fix Python3 compatibility.
Remove unused method
galaxy.tools.parameters.sanitize.ToolParameterSanitizer.restore_param() .
2016-11-23 18:31:04 +00:00
Nicola Soranzo
1d17a29c79
Fixes for pycodestyle 2.2.0
2016-11-15 16:56:50 +00:00
Junzhou Wang
e45f8abb54
Python3:script/api/
2016-06-25 20:49:06 -04:00
Nicola Soranzo
d85db9daa6
Use __file__ when adding paths to sys.path instead of os.getcwd() .
...
Also insert additional paths in position 1 unless strictly necessary.
2016-02-18 15:45:15 +00:00
Nicola Soranzo
93348e7199
Fix the remaining 1334 flake8 errors in scripts/ . Close #391 .
2016-02-18 15:45:15 +00:00
Dannon Baker
082bd83a5c
Fix for example workflow api script failing when the requested library doesn't exist and an attempt is made to create it.
2011-03-15 15:39:35 -04:00
Dannon Baker
9655aa55f5
Set workflow scripts ugo+x, like the others in scripts/api.
2011-03-05 12:44:32 -05:00
Dannon Baker
159c25eb68
Example script that uses the API to watch a folder for inputs, upload (filepath upload) those to a data library, and then execute a specified workflow on them.
2011-03-05 12:28:16 -05:00