mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 08:25:44 +00:00
replacing all calls to self.options
This commit is contained in:
23
TODO.todo
23
TODO.todo
@@ -1,7 +1,4 @@
|
||||
Priority:
|
||||
✔ Document the python/logging/typing in Trilium @done(21-10-25 14:33)
|
||||
✔ Update typing annotations to include generics instead @done(21-10-25 22:38)
|
||||
https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes
|
||||
☐ Write the tests
|
||||
☐ test logs: <https://stackoverflow.com/questions/53125305/testing-logging-output-with-pytest>
|
||||
document this
|
||||
@@ -28,15 +25,8 @@ Documentation:
|
||||
☐ Can prospector ignore tests dir? document this in the gist if so
|
||||
|
||||
Functionality:
|
||||
✔ Move any `tembo.CONFIG` calls out of `pages.py` and ensure these are passed in from the cli. @done(21-10-28 19:44)
|
||||
✔ Make `config scope` a dict in `cli.py`. @done(21-10-28 19:44)
|
||||
✔ Make example optional @done(21-10-29 00:15)
|
||||
✔ Add the `--example` output to the miscounted token message so the user knows the correct command to use. @done(21-10-29 00:15)
|
||||
✔ Page options dataclass @done(21-10-28 20:09)
|
||||
☐ Make user_input optional @important
|
||||
☐ Replace loggers with `click.echo` for command outputs. Keep logging messages for actual logging messages?
|
||||
✔ Look at `_convert_to_path()` and see if it can be rewritten to make it clearer when there isn't a base path. @done(21-10-30 02:14)
|
||||
☐ Replace scoped page creator inputs so that the whole class uses the options dict rather than the variables passed around.
|
||||
☐ Make options a property on the class, add to abstract
|
||||
☐ Use the python runner Duty
|
||||
<https://github.com/pawamoy/duty>
|
||||
☐ Run tests
|
||||
@@ -75,6 +65,17 @@ Logging:
|
||||
clone the repo, delete .git, git init, configure and add git origin
|
||||
|
||||
Archive:
|
||||
✔ Document the python/logging/typing in Trilium @done(21-10-25 14:33) @project(Priority)
|
||||
✔ Update typing annotations to include generics instead @done(21-10-25 22:38) @project(Priority)
|
||||
https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes
|
||||
✔ Move any `tembo.CONFIG` calls out of `pages.py` and ensure these are passed in from the cli. @done(21-10-28 19:44) @project(Functionality)
|
||||
✔ Make `config scope` a dict in `cli.py`. @done(21-10-28 19:44) @project(Functionality)
|
||||
✔ Make example optional @done(21-10-29 00:15) @project(Functionality)
|
||||
✔ Add the `--example` output to the miscounted token message so the user knows the correct command to use. @done(21-10-29 00:15) @project(Functionality)
|
||||
✔ Page options dataclass @done(21-10-28 20:09) @project(Functionality)
|
||||
✔ Make user_input optional @important @done(21-10-30 03:20) @project(Functionality)
|
||||
✔ Look at `_convert_to_path()` and see if it can be rewritten to make it clearer when there isn't a base path. @done(21-10-30 02:14) @project(Functionality)
|
||||
✔ Replace scoped page creator inputs so that the whole class uses the options dict rather than the variables passed around. @done(21-10-30 03:20) @project(Functionality)
|
||||
✔ Go through code TODOs @done(21-10-25 05:52) @project(Priority)
|
||||
✔ Check code order and make sure things are where they should be @done(21-10-25 13:31) @project(Priority)
|
||||
✔ Add version option @done(21-10-25 13:40) @project(Functionality)
|
||||
|
||||
Reference in New Issue
Block a user