]> Nutra Git (v1) - nutratech/cli.git/log
nutratech/cli.git
21 months agofully cover, add test in recipes, aggregate_rows()
Shane Jaroch [Fri, 12 Apr 2024 23:34:54 +0000 (19:34 -0400)]
fully cover, add test in recipes, aggregate_rows()

21 months agoadd TODOs
Shane Jaroch [Fri, 12 Apr 2024 23:24:12 +0000 (19:24 -0400)]
add TODOs

21 months agofully cover: services/recipe/utils.py
Shane Jaroch [Fri, 12 Apr 2024 23:22:33 +0000 (19:22 -0400)]
fully cover: services/recipe/utils.py

21 months agore-enable & fix recipe (invalid path) test
Shane Jaroch [Fri, 12 Apr 2024 23:16:44 +0000 (19:16 -0400)]
re-enable & fix recipe (invalid path) test

21 months agofix tuple(csv_reader), list() first. Add test:
Shane Jaroch [Fri, 12 Apr 2024 23:01:39 +0000 (19:01 -0400)]
fix tuple(csv_reader), list() first.  Add test:

    test_recipes_overview_process_data_dupe_recipe_uuids_throws_key_error

21 months agocoverage ignores in ntsqlite submodule
Shane Jaroch [Fri, 12 Apr 2024 22:47:45 +0000 (18:47 -0400)]
coverage ignores in ntsqlite submodule

21 months agofully cover: sql/__init__.py
Shane Jaroch [Fri, 12 Apr 2024 22:43:34 +0000 (18:43 -0400)]
fully cover: sql/__init__.py

21 months agorename test
Shane Jaroch [Fri, 12 Apr 2024 22:03:58 +0000 (18:03 -0400)]
rename test

21 months agofully cover services/__init__.py
Shane Jaroch [Fri, 12 Apr 2024 22:03:05 +0000 (18:03 -0400)]
fully cover services/__init__.py

21 months agoupdate scripts: `nutra` and `scripts/n`
Shane Jaroch [Fri, 12 Apr 2024 21:57:50 +0000 (17:57 -0400)]
update scripts: `nutra` and `scripts/n`

21 months agocontextual patch()
Shane Jaroch [Fri, 12 Apr 2024 21:53:47 +0000 (17:53 -0400)]
contextual patch()

21 months agomake testable function: version_check()
Shane Jaroch [Fri, 12 Apr 2024 21:49:37 +0000 (17:49 -0400)]
make testable function: version_check()

21 months agoadd test for __init__.py (version check branch)
Shane Jaroch [Fri, 12 Apr 2024 21:41:29 +0000 (17:41 -0400)]
add test for __init__.py (version check branch)

21 months agoadd TODO in requirements-test.txt
Shane Jaroch [Fri, 12 Apr 2024 21:17:51 +0000 (17:17 -0400)]
add TODO in requirements-test.txt

21 months agoempty-commit test DB failure due to needed upgrade
Shane Jaroch [Fri, 12 Apr 2024 21:13:36 +0000 (17:13 -0400)]
empty-commit test DB failure due to needed upgrade

21 months agomove todo about ".nutra.test" test home dir
Shane Jaroch [Fri, 12 Apr 2024 21:03:58 +0000 (17:03 -0400)]
move todo about ".nutra.test" test home dir

21 months agoremove shabangs
Shane Jaroch [Fri, 12 Apr 2024 20:53:41 +0000 (16:53 -0400)]
remove shabangs

21 months agouncomment raise for status on api client post?
Shane Jaroch [Fri, 12 Apr 2024 20:44:45 +0000 (16:44 -0400)]
uncomment raise for status on api client post?

21 months agoMerge branch 'master' into dev
Shane Jaroch [Fri, 12 Apr 2024 20:42:51 +0000 (16:42 -0400)]
Merge branch 'master' into dev

21 months agoupgrade black master
Shane Jaroch [Fri, 12 Apr 2024 20:41:17 +0000 (16:41 -0400)]
upgrade black

21 months agoupgrade black
Shane Jaroch [Fri, 12 Apr 2024 20:41:17 +0000 (16:41 -0400)]
upgrade black

21 months agowarn to do a 'git add' when make format changes
Shane Jaroch [Fri, 12 Apr 2024 20:40:38 +0000 (16:40 -0400)]
warn to do a 'git add' when make format changes

21 months agoremove unused function
Shane Jaroch [Fri, 12 Apr 2024 20:39:31 +0000 (16:39 -0400)]
remove unused function

21 months agoimprove mocks
Shane Jaroch [Fri, 12 Apr 2024 20:39:12 +0000 (16:39 -0400)]
improve mocks

21 months agowip
Shane Jaroch [Fri, 12 Apr 2024 20:23:41 +0000 (16:23 -0400)]
wip

21 months agobugs: mock API call, still need to mock DB call
Shane Jaroch [Fri, 12 Apr 2024 20:06:58 +0000 (16:06 -0400)]
bugs: mock API call, still need to mock DB call

21 months agouse makefile syntax, not bash. upgrade deps
Shane Jaroch [Fri, 12 Apr 2024 19:26:56 +0000 (15:26 -0400)]
use makefile syntax, not bash. upgrade deps

21 months agoupgrade deps
Shane Jaroch [Thu, 28 Mar 2024 23:53:51 +0000 (19:53 -0400)]
upgrade deps

21 months agoformatting, comments
Shane Jaroch [Thu, 28 Mar 2024 23:50:30 +0000 (19:50 -0400)]
formatting, comments

22 months agobump USDA version to 0.0.10
Shane Jaroch [Sat, 2 Mar 2024 16:12:30 +0000 (11:12 -0500)]
bump USDA version to 0.0.10

22 months agofix test
Shane Jaroch [Sat, 2 Mar 2024 15:50:07 +0000 (10:50 -0500)]
fix test

22 months agofix unused headers var (oh well)
Shane Jaroch [Sat, 2 Mar 2024 15:47:28 +0000 (10:47 -0500)]
fix unused headers var (oh well)

22 months agofinish sql refactor
Shane Jaroch [Sat, 2 Mar 2024 15:46:16 +0000 (10:46 -0500)]
finish sql refactor

22 months agowip refactor sql() to return headers, and more
Shane Jaroch [Sat, 2 Mar 2024 15:45:02 +0000 (10:45 -0500)]
wip refactor sql() to return headers, and more

22 months agoadd TODO in test_cli to split up/mock out argparse
Shane Jaroch [Fri, 1 Mar 2024 13:10:37 +0000 (08:10 -0500)]
add TODO in test_cli to split up/mock out argparse

22 months agotidy TODOs, move line of code up
Shane Jaroch [Fri, 1 Mar 2024 02:44:34 +0000 (21:44 -0500)]
tidy TODOs, move line of code up

22 months agolint suppression
Shane Jaroch [Wed, 28 Feb 2024 20:33:28 +0000 (15:33 -0500)]
lint suppression

22 months agostandardize all to build_subcommand_*
Shane Jaroch [Tue, 27 Feb 2024 01:21:24 +0000 (20:21 -0500)]
standardize all to build_subcommand_*

23 months agoadd dev URL explicitly to API list v0.2.8.dev0
Shane Jaroch [Mon, 26 Feb 2024 19:14:15 +0000 (14:14 -0500)]
add dev URL explicitly to API list

23 months agopragma cover, and fall through non 200 errors
Shane Jaroch [Mon, 26 Feb 2024 03:36:18 +0000 (22:36 -0500)]
pragma cover, and fall through non 200 errors

23 months agoappease pycharm
Shane Jaroch [Mon, 26 Feb 2024 03:24:33 +0000 (22:24 -0500)]
appease pycharm

23 months agopylintrc
Shane Jaroch [Mon, 26 Feb 2024 03:14:49 +0000 (22:14 -0500)]
pylintrc

23 months agoRevert "pylint"
Shane Jaroch [Mon, 26 Feb 2024 03:14:06 +0000 (22:14 -0500)]
Revert "pylint"

This reverts commit db4e73cf3a022991a22b0aee59ab7e497f1c566b.

23 months agopylint
Shane Jaroch [Mon, 26 Feb 2024 03:10:48 +0000 (22:10 -0500)]
pylint

23 months agofix quadratic with -g | --grams
Shane Jaroch [Mon, 26 Feb 2024 03:06:37 +0000 (22:06 -0500)]
fix quadratic with -g | --grams

23 months agoheader for bug in argparser funcs
Shane Jaroch [Sun, 25 Feb 2024 22:32:02 +0000 (17:32 -0500)]
header for bug in argparser funcs

23 months agosplit repr (exc_type/exc_msg), store more bug data
Shane Jaroch [Sun, 25 Feb 2024 22:27:54 +0000 (17:27 -0500)]
split repr (exc_type/exc_msg), store more bug data

23 months agotidy, remove pointless nested simulate_bug()
Shane Jaroch [Sun, 25 Feb 2024 21:50:33 +0000 (16:50 -0500)]
tidy, remove pointless nested simulate_bug()

23 months agoaaa test package (test order, test_bug depends)
Shane Jaroch [Sun, 25 Feb 2024 21:46:57 +0000 (16:46 -0500)]
aaa test package (test order, test_bug depends)

    it needs the nt.sqlite3 file in place and of the latest version

23 months agotest bug
Shane Jaroch [Sun, 25 Feb 2024 21:35:00 +0000 (16:35 -0500)]
test bug

23 months agousda init: pragma: no cover
Shane Jaroch [Sun, 25 Feb 2024 21:13:15 +0000 (16:13 -0500)]
usda init: pragma: no cover

23 months agoadd recipe_csv_util tests
Shane Jaroch [Sun, 25 Feb 2024 21:10:45 +0000 (16:10 -0500)]
add recipe_csv_util tests

23 months agotest coverage ApiClient.get() not used yet anyway
Shane Jaroch [Sun, 25 Feb 2024 21:05:56 +0000 (16:05 -0500)]
test coverage ApiClient.get() not used yet anyway

23 months agotest coverage
Shane Jaroch [Sun, 25 Feb 2024 20:53:09 +0000 (15:53 -0500)]
test coverage

23 months agowip testing, bleh
Shane Jaroch [Sun, 25 Feb 2024 20:33:11 +0000 (15:33 -0500)]
wip testing, bleh

23 months agotest coverage, *shrugs*
Shane Jaroch [Sun, 25 Feb 2024 20:28:33 +0000 (15:28 -0500)]
test coverage, *shrugs*

23 months agowip, but `anl` is working somewhat okay now again
Shane Jaroch [Sun, 25 Feb 2024 20:23:57 +0000 (15:23 -0500)]
wip, but `anl` is working somewhat okay now again

23 months agowip
Shane Jaroch [Sun, 25 Feb 2024 20:13:18 +0000 (15:13 -0500)]
wip

23 months agowip
Shane Jaroch [Sun, 25 Feb 2024 18:21:54 +0000 (13:21 -0500)]
wip

23 months agowip
Shane Jaroch [Sun, 25 Feb 2024 17:55:29 +0000 (12:55 -0500)]
wip

23 months agoupdate comments
Shane Jaroch [Sun, 25 Feb 2024 17:10:41 +0000 (12:10 -0500)]
update comments

23 months agotruncate food name > 50 characters
Shane Jaroch [Sun, 25 Feb 2024 17:03:42 +0000 (12:03 -0500)]
truncate food name > 50 characters

23 months agomore typing indictaors/casting
Shane Jaroch [Sun, 25 Feb 2024 16:58:42 +0000 (11:58 -0500)]
more typing indictaors/casting

23 months agobump 3.10 --> 3.11
Shane Jaroch [Sun, 25 Feb 2024 16:50:52 +0000 (11:50 -0500)]
bump 3.10 --> 3.11

23 months agofix no such file error
Shane Jaroch [Sun, 25 Feb 2024 16:45:32 +0000 (11:45 -0500)]
fix no such file error

23 months agofix submodule (no such commit was found error)
Shane Jaroch [Sun, 25 Feb 2024 16:42:30 +0000 (11:42 -0500)]
fix submodule (no such commit was found error)

23 months agosuppress exception for now, for testing purposes
Shane Jaroch [Sun, 25 Feb 2024 16:22:28 +0000 (11:22 -0500)]
suppress exception for now, for testing purposes

23 months agofix URL for usda-sqlite.sql.tar.xz
Shane Jaroch [Sun, 25 Feb 2024 16:20:40 +0000 (11:20 -0500)]
fix URL for usda-sqlite.sql.tar.xz

23 months agotyping Sequence[], Mapping[] vs. list, dict
Shane Jaroch [Sun, 25 Feb 2024 16:11:33 +0000 (11:11 -0500)]
typing Sequence[], Mapping[] vs. list, dict

23 months agoupgrade USDA/usda verion, and lint deps
Shane Jaroch [Sun, 25 Feb 2024 03:06:01 +0000 (22:06 -0500)]
upgrade USDA/usda verion, and lint deps

23 months agomove print_macro_bar to top-level (not sub-func)
Shane Jaroch [Sat, 24 Feb 2024 15:47:51 +0000 (10:47 -0500)]
move print_macro_bar to top-level (not sub-func)

23 months agofix both macro bars showing same numbers
Shane Jaroch [Sat, 24 Feb 2024 00:17:45 +0000 (19:17 -0500)]
fix both macro bars showing same numbers

23 months agowip
Shane Jaroch [Fri, 23 Feb 2024 22:03:36 +0000 (17:03 -0500)]
wip

23 months agowip nutprogbar stuff
Shane Jaroch [Thu, 22 Feb 2024 15:14:05 +0000 (10:14 -0500)]
wip nutprogbar stuff

23 months agotweak, don't allow 200s
Shane Jaroch [Thu, 15 Feb 2024 01:27:57 +0000 (20:27 -0500)]
tweak, don't allow 200s

23 months agobug submission MVP. wip configparser
Shane Jaroch [Thu, 15 Feb 2024 01:08:17 +0000 (20:08 -0500)]
bug submission MVP.  wip configparser

23 months ago[temp] drop coverage 90 -> 85
Shane Jaroch [Thu, 15 Feb 2024 00:54:09 +0000 (19:54 -0500)]
[temp] drop coverage 90 -> 85

23 months agowip cache mirrors
Shane Jaroch [Thu, 15 Feb 2024 00:30:09 +0000 (19:30 -0500)]
wip cache mirrors

23 months agoupgrade lint requirements
Shane Jaroch [Wed, 14 Feb 2024 21:00:59 +0000 (16:00 -0500)]
upgrade lint requirements

23 months agokeep chugging on bugs
Shane Jaroch [Wed, 14 Feb 2024 20:57:47 +0000 (15:57 -0500)]
keep chugging on bugs

23 months agolist bugs too (not just submitting)
Shane Jaroch [Wed, 14 Feb 2024 20:34:49 +0000 (15:34 -0500)]
list bugs too (not just submitting)

23 months agowip URLS_API (try all available hosts)
Shane Jaroch [Wed, 14 Feb 2024 15:41:49 +0000 (10:41 -0500)]
wip URLS_API (try all available hosts)

23 months agowip bug report
Shane Jaroch [Wed, 14 Feb 2024 02:14:15 +0000 (21:14 -0500)]
wip bug report

23 months agowip bug report
Shane Jaroch [Tue, 13 Feb 2024 19:45:42 +0000 (14:45 -0500)]
wip bug report

23 months agowip bug report
Shane Jaroch [Tue, 13 Feb 2024 19:31:37 +0000 (14:31 -0500)]
wip bug report

23 months agowip bug report
Shane Jaroch [Tue, 13 Feb 2024 14:56:16 +0000 (09:56 -0500)]
wip bug report

2 years agoupdate requirements (lint)
Shane Jaroch [Wed, 27 Dec 2023 01:43:18 +0000 (20:43 -0500)]
update requirements (lint)

2 years agoadd todo note about what to make nnest into
Shane Jaroch [Sat, 23 Dec 2023 00:04:11 +0000 (19:04 -0500)]
add todo note about what to make nnest into

2 years agoupdate lint reqs
Shane Jaroch [Fri, 22 Dec 2023 13:59:31 +0000 (08:59 -0500)]
update lint reqs

2 years agolint RST fix
Shane Jaroch [Thu, 14 Dec 2023 18:06:18 +0000 (13:06 -0500)]
lint RST fix

2 years agomove nested list nnest blueprint to .rst file
Shane Jaroch [Thu, 14 Dec 2023 18:01:19 +0000 (13:01 -0500)]
move nested list nnest blueprint to .rst file

2 years agouse --debug, no "-d". Update black. Changelog.
Shane Jaroch [Thu, 14 Dec 2023 16:53:50 +0000 (11:53 -0500)]
use --debug, no "-d". Update black. Changelog.

2 years agouse --version, no "-v"
Shane Jaroch [Thu, 14 Dec 2023 16:14:40 +0000 (11:14 -0500)]
use --version, no "-v"

2 years agoupdate anl help to show recipes/days too
Shane Jaroch [Thu, 14 Dec 2023 16:11:03 +0000 (11:11 -0500)]
update anl help to show recipes/days too

2 years agouse ≤ character instead of <=
Shane Jaroch [Tue, 12 Dec 2023 18:11:58 +0000 (13:11 -0500)]
use ≤ character instead of <=

2 years agoupdate mathematica script, small fix initial value
Shane Jaroch [Tue, 12 Dec 2023 18:09:50 +0000 (13:09 -0500)]
update mathematica script, small fix initial value

2 years agono f-strings, always remember for this project!
Shane Jaroch [Tue, 12 Dec 2023 18:04:28 +0000 (13:04 -0500)]
no f-strings, always remember for this project!

2 years agoremove @todo, expand on other one
Shane Jaroch [Tue, 12 Dec 2023 18:02:18 +0000 (13:02 -0500)]
remove @todo, expand on other one

2 years agopur: update requirements (lint)
Shane Jaroch [Mon, 11 Dec 2023 21:49:20 +0000 (16:49 -0500)]
pur: update requirements (lint)

2 years agoadjust pylintrc fail-under, differential lint
Shane Jaroch [Mon, 11 Dec 2023 21:48:17 +0000 (16:48 -0500)]
adjust pylintrc fail-under, differential lint