smscalls: allow multiple backup dirs (#172)
* smscalls: allow multiple backup dirs * add smscalls to my.config, add test to CI
This commit is contained in:
parent
014494059d
commit
b64a11cc69
3 changed files with 8 additions and 3 deletions
|
@ -24,6 +24,9 @@ class hypothesis:
|
|||
class instapaper:
|
||||
export_path: Paths = ''
|
||||
|
||||
class smscalls:
|
||||
export_path: Paths = ''
|
||||
|
||||
class pocket:
|
||||
export_path: Paths = ''
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@ Exported using https://play.google.com/store/apps/details?id=com.riteshsahu.SMSB
|
|||
|
||||
REQUIRES = ['lxml']
|
||||
|
||||
from .core import PathIsh, dataclass
|
||||
from .core import Paths, dataclass
|
||||
from my.config import smscalls as user_config
|
||||
|
||||
@dataclass
|
||||
class smscalls(user_config):
|
||||
# directory that SMSBackupRestore syncs XML files to
|
||||
export_path: PathIsh
|
||||
# path[s] that SMSBackupRestore syncs XML files to
|
||||
export_path: Paths
|
||||
|
||||
from .core.cfg import make_config
|
||||
config = make_config(smscalls)
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -85,6 +85,7 @@ commands =
|
|||
hpi module install my.coding.commits
|
||||
hpi module install my.goodreads
|
||||
hpi module install my.pdfs
|
||||
hpi module install my.smscalls
|
||||
|
||||
# todo fuck. -p my.github isn't checking the subpackages?? wtf...
|
||||
# guess it wants .pyi file??
|
||||
|
@ -94,6 +95,7 @@ commands =
|
|||
-p my.hypothesis \
|
||||
-p my.instapaper \
|
||||
-p my.pocket \
|
||||
-p my.smscalls \
|
||||
-p my.reddit \
|
||||
-p my.stackexchange.stexport \
|
||||
-p my.pinboard \
|
||||
|
|
Loading…
Add table
Reference in a new issue