aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_cleanup.py
Commit message (Collapse)AuthorAgeFilesLines
* typing: first batch of python bulk type annotationsBryan Newbold2021-11-031-2/+2
| | | | | | While these changes are more delicate than simple lint changes, this specific batch of edits and annotations was *relatively* simple, and resulted in few code changes other than function signature additions.
* fmt (black): *.pyBryan Newbold2021-11-021-24/+34
|
* lint/fmt: remove all 'import *'Bryan Newbold2021-11-021-3/+3
|
* lint (flake8) top-level python filesBryan Newbold2020-07-011-1/+3
|
* add missing sentry/raven tagsBryan Newbold2020-01-101-0/+6
| | | | | | Good to have exceptions tracked and stored even for commands run from the command line. But in particular the importer runs as a kafka worker and should be tracking excpetions.
* improve argparse usageBryan Newbold2019-12-111-4/+6
| | | | | | | | | | | | | | Use --fatcat-api-url instead of (ambiguous) --host-url for commands that aren't deployed/running via systemd. TODO: update the other --host-url usage, and either roll-out change consistently or support the old arg as an alias during cut-over Use argparse.ArgumentDefaultsHelpFormatter (thanks Martin!) Add help messages for all sub-commands, both as documentation and as a way to get argparse to print available commands in a more readable format.
* new cleanup python tool/frameworkBryan Newbold2019-10-081-0/+59