add example for denylist, update ci

This commit is contained in:
Sean Breckenridge 2023-02-27 20:54:40 -08:00 committed by karlicoss
parent 98b086f746
commit 435cb020f9
2 changed files with 4 additions and 3 deletions

View file

@ -121,7 +121,7 @@ To edit the `all.py`, you could either:
- install it as editable (`python3 -m pip install --user -e ./HPI`), and then edit the file directly - install it as editable (`python3 -m pip install --user -e ./HPI`), and then edit the file directly
- or, create a namespace package, which splits the package across multiple directories. For info on that see [`MODULE_DESIGN`](https://github.com/karlicoss/HPI/blob/master/doc/MODULE_DESIGN.org#namespace-packages), [`reorder_editable`](https://github.com/seanbreckenridge/reorder_editable), and possibly the [`HPI-template`](https://github.com/seanbreckenridge/HPI-template) to create your own HPI namespace package to create your own `all.py` file. - or, create a namespace package, which splits the package across multiple directories. For info on that see [`MODULE_DESIGN`](https://github.com/karlicoss/HPI/blob/master/doc/MODULE_DESIGN.org#namespace-packages), [`reorder_editable`](https://github.com/seanbreckenridge/reorder_editable), and possibly the [`HPI-template`](https://github.com/seanbreckenridge/HPI-template) to create your own HPI namespace package to create your own `all.py` file.
TODO: link to seanbreckenridge/HPI-personal for an example of this once this is merged/settled For a real example of this see, [seanbreckenridge/HPI-personal](https://github.com/seanbreckenridge/HPI-personal/blob/master/my/ip/all.py)
Sidenote: the reason why we want to specifically override Sidenote: the reason why we want to specifically override
the all.py and not just create a script that filters out the items you're the all.py and not just create a script that filters out the items you're

View file

@ -116,12 +116,12 @@ commands =
my.fbmessenger.export \ my.fbmessenger.export \
my.goodreads \ my.goodreads \
my.google.takeout.parser \ my.google.takeout.parser \
my.ip.common \
my.orgmode \ my.orgmode \
my.hypothesis \ my.hypothesis \
my.instapaper \ my.instapaper \
my.kobo \ my.kobo \
my.location.gpslogger \ my.location.gpslogger \
my.location.via_ip \
my.pdfs \ my.pdfs \
my.pinboard \ my.pinboard \
my.pocket \ my.pocket \
@ -130,7 +130,8 @@ commands =
my.rescuetime \ my.rescuetime \
my.runnerup \ my.runnerup \
my.stackexchange.stexport \ my.stackexchange.stexport \
my.smscalls my.smscalls \
my.time.tz.via_location
{envpython} -m mypy --install-types --non-interactive \ {envpython} -m mypy --install-types --non-interactive \