Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | typing: initial annotations on importers | Bryan Newbold | 2021-11-03 | 22 | -274/+443 | |
| | | | | | This commit just adds the type annotations, doesn't do fixes to code to make type checking pass. | |||||
* | typing: first batch of python bulk type annotations | Bryan Newbold | 2021-11-03 | 21 | -139/+200 | |
| | | | | | | 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. | |||||
* | importers: remove unused __main__ routine | Bryan Newbold | 2021-11-03 | 4 | -19/+0 | |
| | | | | | | These perhaps were used in initial develoment or testing? fatcat_import.py is the correct way to do these imports, even for testing/development. | |||||
* | lint: resolve existing mypy type errors | Bryan Newbold | 2021-11-02 | 12 | -81/+125 | |
| | | | | | | | | | Adds annotations and re-workes dataflow to satisfy existing mypy issues, without adding any additional type annotations to, eg, function signatures. There will probably be many more type errors when annotations are all added. | |||||
* | web: annotate 'app' as 'Any', and document why | Bryan Newbold | 2021-11-02 | 1 | -1/+5 | |
| | ||||||
* | flake8 config: update ignore list after big fmt | Bryan Newbold | 2021-11-02 | 1 | -3/+4 | |
| | ||||||
* | re-fix some lint issues after big 'fmt' | Bryan Newbold | 2021-11-02 | 2 | -4/+5 | |
| | ||||||
* | fmt (black): fatcat_tools/ | Bryan Newbold | 2021-11-02 | 43 | -3194/+4020 | |
| | ||||||
* | fmt (black): fatcat_web/ | Bryan Newbold | 2021-11-02 | 13 | -1297/+1992 | |
| | ||||||
* | fmt (black): *.py | Bryan Newbold | 2021-11-02 | 11 | -715/+1110 | |
| | ||||||
* | fmt (black): tests/ | Bryan Newbold | 2021-11-02 | 55 | -1430/+1852 | |
| | ||||||
* | python: isort everything | Bryan Newbold | 2021-11-02 | 85 | -184/+278 | |
| | ||||||
* | revert '-vv' for pytest in Makefile (too verbose) | Bryan Newbold | 2021-11-02 | 1 | -1/+1 | |
| | ||||||
* | arabesque import 'hit' field is 1/0, not true/false | Bryan Newbold | 2021-11-02 | 1 | -2/+2 | |
| | ||||||
* | lint: simple, safe inline lint fixes | Bryan Newbold | 2021-11-02 | 39 | -221/+220 | |
| | | | | '==' vs 'is'; 'not a in b' vs 'a not in b'; etc | |||||
* | lint/fmt: remove all 'import *' | Bryan Newbold | 2021-11-02 | 12 | -62/+207 | |
| | ||||||
* | entity transforms: add basic type annotations | Bryan Newbold | 2021-11-02 | 1 | -7/+19 | |
| | ||||||
* | ftfy 'fix_entities' argument has been renamed | Bryan Newbold | 2021-11-02 | 1 | -4/+4 | |
| | ||||||
* | hacks to work around new pylint false positives | Bryan Newbold | 2021-11-02 | 2 | -11/+18 | |
| | ||||||
* | cleanup imports after fatcat_tools.transforms change | Bryan Newbold | 2021-11-02 | 7 | -34/+76 | |
| | ||||||
* | re-fmt all the fatcat_tools __init__ files for readability | Bryan Newbold | 2021-11-02 | 5 | -30/+62 | |
| | ||||||
* | remove 'import *' from fatcat_tools (for transforms) | Bryan Newbold | 2021-11-02 | 1 | -2/+2 | |
| | ||||||
* | python makefile: tooling config updates | Bryan Newbold | 2021-11-02 | 1 | -12/+13 | |
| | ||||||
* | add pyproject.toml with isort configuration | Bryan Newbold | 2021-11-02 | 1 | -0/+3 | |
| | ||||||
* | pytest: more deprecation warning ignores | Bryan Newbold | 2021-11-02 | 1 | -0/+2 | |
| | ||||||
* | update flake8 configuration | Bryan Newbold | 2021-11-02 | 1 | -9/+15 | |
| | ||||||
* | pipenv: update lockfile | Bryan Newbold | 2021-11-02 | 1 | -404/+728 | |
| | ||||||
* | pipenv: update ftfy to 6.x | Bryan Newbold | 2021-11-02 | 1 | -1/+1 | |
| | ||||||
* | pipenv: add sentry-sdk (to make future raven removal easier) | Bryan Newbold | 2021-11-02 | 1 | -0/+1 | |
| | ||||||
* | pipenv: pin elasticsearch client to prevent UnsupportedProductError | Bryan Newbold | 2021-11-02 | 1 | -1/+3 | |
| | ||||||
* | pipenv: additional dev tools (black, types, isort, mypy) | Bryan Newbold | 2021-11-02 | 1 | -0/+11 | |
| | ||||||
* | small python tweaks for annotations, imports | Bryan Newbold | 2021-11-02 | 3 | -3/+7 | |
| | ||||||
* | try some type annotations | Bryan Newbold | 2021-11-02 | 4 | -70/+79 | |
| | ||||||
* | reviewer: add annotations required by mypy | Bryan Newbold | 2021-11-02 | 1 | -2/+3 | |
| | ||||||
* | temporary hack around filesets.manifest order instability | Bryan Newbold | 2021-11-02 | 1 | -3/+4 | |
| | | | | | | May need some change in fatcatd or schema? This isn't a new issue, that part of schema has been around for a long time, just getting detected now with these tests. | |||||
* | fix missing variable in fileset ingest | Bryan Newbold | 2021-11-02 | 1 | -2/+1 | |
| | ||||||
* | web: improve git version generation | Bryan Newbold | 2021-11-02 | 1 | -1/+1 | |
| | | | | | | This shouldn't change behavior on `master` branch, but in some cases (unsigned / no-message tags), should display better short version names in the footer. | |||||
* | Merge branch 'bnewbold-import-fileset' | Bryan Newbold | 2021-11-02 | 9 | -4/+507 | |
|\ | ||||||
| * | WIP: more fileset ingest | Bryan Newbold | 2021-10-18 | 1 | -13/+21 | |
| | | ||||||
| * | python: gitignore more | Bryan Newbold | 2021-10-15 | 1 | -0/+2 | |
| | | ||||||
| * | WIP: rel fixes | Bryan Newbold | 2021-10-14 | 1 | -6/+6 | |
| | | ||||||
| * | fileset ingest small tweaks | Bryan Newbold | 2021-10-14 | 1 | -21/+36 | |
| | | ||||||
| * | initial implementation of fileset ingest importers | Bryan Newbold | 2021-10-14 | 3 | -3/+298 | |
| | | ||||||
| * | ingest: handle datasets, components, other ingest types | Bryan Newbold | 2021-10-14 | 1 | -1/+15 | |
| | | ||||||
| * | generic fileset importer class, with test coverage | Bryan Newbold | 2021-10-14 | 6 | -0/+169 | |
| | | ||||||
* | | Merge branch 'bnewbold-match-get' | Bryan Newbold | 2021-11-02 | 4 | -9/+60 | |
|\ \ | ||||||
| * | | match: fix access_options in return | Bryan Newbold | 2021-10-18 | 1 | -3/+7 | |
| | | | ||||||
| * | | access: populate thumbnail_url for PDFs | Bryan Newbold | 2021-10-18 | 1 | -3/+9 | |
| | | | ||||||
| * | | add GET w/ query params to reference match endpoint (and JSON version) | Bryan Newbold | 2021-10-18 | 3 | -6/+47 | |
| |/ | ||||||
* / | pubmed: switch default http site to retrieve update files | Martin Czygan | 2021-10-15 | 1 | -2/+4 | |
|/ | | | | | | | Proxy started to throw: "dial tcp: lookup ftp.ncbi.nlm.nih.gov on [::1]:53: read udp [::1]:45178->[::1]:53: read: connection refused" NIH has a http version on it's own, try to use that. |