aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
* importers: remove unused __main__ routineBryan Newbold2021-11-034-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 errorsBryan Newbold2021-11-0212-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 whyBryan Newbold2021-11-021-1/+5
|
* flake8 config: update ignore list after big fmtBryan Newbold2021-11-021-3/+4
|
* re-fix some lint issues after big 'fmt'Bryan Newbold2021-11-022-4/+5
|
* fmt (black): fatcat_tools/Bryan Newbold2021-11-0243-3194/+4020
|
* fmt (black): fatcat_web/Bryan Newbold2021-11-0213-1297/+1992
|
* fmt (black): *.pyBryan Newbold2021-11-0211-715/+1110
|
* fmt (black): tests/Bryan Newbold2021-11-0255-1430/+1852
|
* python: isort everythingBryan Newbold2021-11-0285-184/+278
|
* revert '-vv' for pytest in Makefile (too verbose)Bryan Newbold2021-11-021-1/+1
|
* arabesque import 'hit' field is 1/0, not true/falseBryan Newbold2021-11-021-2/+2
|
* lint: simple, safe inline lint fixesBryan Newbold2021-11-0239-221/+220
| | | | '==' vs 'is'; 'not a in b' vs 'a not in b'; etc
* lint/fmt: remove all 'import *'Bryan Newbold2021-11-0212-62/+207
|
* entity transforms: add basic type annotationsBryan Newbold2021-11-021-7/+19
|
* ftfy 'fix_entities' argument has been renamedBryan Newbold2021-11-021-4/+4
|
* hacks to work around new pylint false positivesBryan Newbold2021-11-022-11/+18
|
* cleanup imports after fatcat_tools.transforms changeBryan Newbold2021-11-027-34/+76
|
* re-fmt all the fatcat_tools __init__ files for readabilityBryan Newbold2021-11-025-30/+62
|
* remove 'import *' from fatcat_tools (for transforms)Bryan Newbold2021-11-021-2/+2
|
* python makefile: tooling config updatesBryan Newbold2021-11-021-12/+13
|
* add pyproject.toml with isort configurationBryan Newbold2021-11-021-0/+3
|
* pytest: more deprecation warning ignoresBryan Newbold2021-11-021-0/+2
|
* update flake8 configurationBryan Newbold2021-11-021-9/+15
|
* pipenv: update lockfileBryan Newbold2021-11-021-404/+728
|
* pipenv: update ftfy to 6.xBryan Newbold2021-11-021-1/+1
|
* pipenv: add sentry-sdk (to make future raven removal easier)Bryan Newbold2021-11-021-0/+1
|
* pipenv: pin elasticsearch client to prevent UnsupportedProductErrorBryan Newbold2021-11-021-1/+3
|
* pipenv: additional dev tools (black, types, isort, mypy)Bryan Newbold2021-11-021-0/+11
|
* small python tweaks for annotations, importsBryan Newbold2021-11-023-3/+7
|
* try some type annotationsBryan Newbold2021-11-024-70/+79
|
* reviewer: add annotations required by mypyBryan Newbold2021-11-021-2/+3
|
* temporary hack around filesets.manifest order instabilityBryan Newbold2021-11-021-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 ingestBryan Newbold2021-11-021-2/+1
|
* web: improve git version generationBryan Newbold2021-11-021-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 Newbold2021-11-029-4/+507
|\
| * WIP: more fileset ingestBryan Newbold2021-10-181-13/+21
| |
| * python: gitignore moreBryan Newbold2021-10-151-0/+2
| |
| * WIP: rel fixesBryan Newbold2021-10-141-6/+6
| |
| * fileset ingest small tweaksBryan Newbold2021-10-141-21/+36
| |
| * initial implementation of fileset ingest importersBryan Newbold2021-10-143-3/+298
| |
| * ingest: handle datasets, components, other ingest typesBryan Newbold2021-10-141-1/+15
| |
| * generic fileset importer class, with test coverageBryan Newbold2021-10-146-0/+169
| |
* | Merge branch 'bnewbold-match-get'Bryan Newbold2021-11-024-9/+60
|\ \
| * | match: fix access_options in returnBryan Newbold2021-10-181-3/+7
| | |
| * | access: populate thumbnail_url for PDFsBryan Newbold2021-10-181-3/+9
| | |
| * | add GET w/ query params to reference match endpoint (and JSON version)Bryan Newbold2021-10-183-6/+47
| |/
* / pubmed: switch default http site to retrieve update filesMartin Czygan2021-10-151-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.
* web: minor typo correctionBryan Newbold2021-10-131-1/+1
|
* web: editor username /u/<username> helperBryan Newbold2021-10-132-0/+16
|