Dima Gerasimov
637982a5ba
ci: update ci configs
...
- add windows runner
- update actions versions
- other minor enhancements
2022-05-03 10:16:01 +01:00
Sean Breckenridge
6185942f78
core/cli: autocomplete module names
2022-02-23 12:15:00 -01:00
Sean Breckenridge
3f4fb64d56
core: drop py36 support, update docs for reddit ( #193 )
...
* docs: update references to my.reddit
* ci: remove 3.6, add 3.9
2022-01-27 08:26:15 +00:00
Sean Breckenridge
fb49243005
core: add hpi query command ( #157 )
...
- restructure query code for cli, some test fixes
- initial query_range implementation
refactored functions in query some more
to allow re-use in range_range, select()
pretty much just calls out to a bunch
of handlers now
2021-04-06 17:19:58 +01:00
Sean Breckenridge
349ab78fca
core/cli: switch to using click library #155
...
everything is backwards-compatible with the previous
interface, the only minor changes were to the doctor cmd
which can now accept more than one item to run,
and the --skip-config-check to skip the config_ok
check if the user specifies to
added a test using click.testing.CliRunner (tests
the CLI in an isolated environment), though
additional tests which aren't testing the CLI
itself (parsing arguments or decorator behaviour)
can just call the functions themselves, as they
no longer accept a argparser.Namespace and instead
accept the direct arguments
2021-04-04 10:06:59 +01:00
Sean Breckenridge
eb26cf8633
my.core.serialize: orjson with additional default and _serialize hook ( #140 )
...
basic orjson serialize, json.dumps fallback
Lots of surrounding changes from this discussion:
0593c69056
2021-03-20 00:48:03 +00:00
Dima Gerasimov
ad1cc71b0f
readme: update
2021-02-20 01:39:55 +00:00
Dima Gerasimov
56d5587c20
CI: clean up tox config a bit, get rid of custom lint script
2021-02-18 02:04:40 +00:00
Dima Gerasimov
df9a7f7390
core.pandas: add check for 'error' column + add empty one by default
2021-02-14 16:20:38 +00:00
Dima Gerasimov
1849a66f08
general: get rid of example_config & use demo/stub my.config instead
2020-11-01 02:02:43 +01:00
Dima Gerasimov
ced93e6942
reflect cachew changes of exception handling and temporary suppression
2020-10-08 21:22:02 +02:00
Dima Gerasimov
24fb983399
ci: add mypy for my.hypothesis
2020-09-29 19:44:45 +02:00
Dima Gerasimov
8019389ccb
cli: move doctor to core, add doc
2020-05-25 10:17:40 +01:00
Dima Gerasimov
2ede5b3a5c
cli: add config check command
2020-05-25 09:49:57 +01:00
Dima Gerasimov
2a9fd54c12
Improve documentation for some modules
2020-05-17 21:56:58 +01:00
Dima Gerasimov
647b6087dd
add main HPI executable
2020-05-14 23:01:50 +01:00
Dima Gerasimov
d7abff03fc
add dataclasses dependency for python<3.7
2020-05-10 22:43:02 +01:00
Dima Gerasimov
505a2b22ae
fix my.config.repos stub
2020-05-07 08:39:30 +01:00
Dima Gerasimov
636060db57
Simplify config discovery: get rid of the hacky stub and reimport proper config automatically
2020-05-05 22:22:32 +01:00
Dima Gerasimov
4cceccd787
add test for dynamic config attributes (import my.cfg as config)
2020-05-04 22:08:58 +01:00
Dima Gerasimov
fe763c3c04
Fix my.config handling during mypy
2020-05-04 19:52:18 +01:00
Dima Gerasimov
1f07e1a2a8
enable mypy on CI for core stuff
2020-05-04 19:52:18 +01:00
Dima Gerasimov
78dbbd3c55
prettify emfit provider
2020-05-03 13:42:31 +01:00
Dima Gerasimov
04605d9c09
attemtp to use post versions
2020-04-24 22:01:15 +01:00
Dima Gerasimov
4e861eb2b2
fix namespace packages finding
2020-04-24 21:44:03 +01:00
Dima Gerasimov
185fa9aabd
update readme
2020-04-18 16:16:54 +01:00
Dima Gerasimov
ea00c2afdb
name PyPi package HPI instead of 'my'
2020-04-18 15:26:13 +01:00
Dima Gerasimov
7fe6520575
Switch to github CI
2020-04-18 15:21:23 +01:00
Dima Gerasimov
46f69a8911
install subpackages properly
2020-04-15 22:25:58 +01:00
Dima Gerasimov
968c448013
Update usage docs
2020-04-12 15:01:03 +01:00
Dima Gerasimov
f766c8abe5
updates to the setup guide
2020-04-12 13:42:03 +01:00
Dima Gerasimov
be7c4d2098
WIP on using ~/.config/my/my.config
2020-04-11 20:32:26 +01:00
Dima Gerasimov
fe0521b6dc
install mycfg stub along with the package
2020-02-05 20:45:44 +00:00
Dima Gerasimov
3ee2deecae
Use tox
2019-12-19 20:14:26 +00:00
Dima Gerasimov
e72ad57f91
Add initial setup.py
2019-11-17 10:44:14 +00:00