]>
Nutra Git (v1) - nutratech/cli.git/log
Shane Jaroch [Fri, 12 Apr 2024 20:40:38 +0000 (16:40 -0400)]
warn to do a 'git add' when make format changes
Shane Jaroch [Fri, 12 Apr 2024 20:39:31 +0000 (16:39 -0400)]
remove unused function
Shane Jaroch [Fri, 12 Apr 2024 20:39:12 +0000 (16:39 -0400)]
improve mocks
Shane Jaroch [Fri, 12 Apr 2024 20:23:41 +0000 (16:23 -0400)]
wip
Shane Jaroch [Fri, 12 Apr 2024 20:06:58 +0000 (16:06 -0400)]
bugs: mock API call, still need to mock DB call
Shane Jaroch [Fri, 12 Apr 2024 19:26:56 +0000 (15:26 -0400)]
use makefile syntax, not bash. upgrade deps
Shane Jaroch [Thu, 28 Mar 2024 23:53:51 +0000 (19:53 -0400)]
upgrade deps
Shane Jaroch [Thu, 28 Mar 2024 23:50:30 +0000 (19:50 -0400)]
formatting, comments
Shane Jaroch [Sat, 2 Mar 2024 16:12:30 +0000 (11:12 -0500)]
bump USDA version to 0.0.10
Shane Jaroch [Sat, 2 Mar 2024 15:50:07 +0000 (10:50 -0500)]
fix test
Shane Jaroch [Sat, 2 Mar 2024 15:47:28 +0000 (10:47 -0500)]
fix unused headers var (oh well)
Shane Jaroch [Sat, 2 Mar 2024 15:46:16 +0000 (10:46 -0500)]
finish sql refactor
Shane Jaroch [Sat, 2 Mar 2024 15:45:02 +0000 (10:45 -0500)]
wip refactor sql() to return headers, and more
Shane Jaroch [Fri, 1 Mar 2024 13:10:37 +0000 (08:10 -0500)]
add TODO in test_cli to split up/mock out argparse
Shane Jaroch [Fri, 1 Mar 2024 02:44:34 +0000 (21:44 -0500)]
tidy TODOs, move line of code up
Shane Jaroch [Wed, 28 Feb 2024 20:33:28 +0000 (15:33 -0500)]
lint suppression
Shane Jaroch [Tue, 27 Feb 2024 01:21:24 +0000 (20:21 -0500)]
standardize all to build_subcommand_*
Shane Jaroch [Mon, 26 Feb 2024 19:14:15 +0000 (14:14 -0500)]
add dev URL explicitly to API list
Shane Jaroch [Mon, 26 Feb 2024 03:36:18 +0000 (22:36 -0500)]
pragma cover, and fall through non 200 errors
Shane Jaroch [Mon, 26 Feb 2024 03:24:33 +0000 (22:24 -0500)]
appease pycharm
Shane Jaroch [Mon, 26 Feb 2024 03:14:49 +0000 (22:14 -0500)]
pylintrc
Shane Jaroch [Mon, 26 Feb 2024 03:14:06 +0000 (22:14 -0500)]
Shane Jaroch [Mon, 26 Feb 2024 03:10:48 +0000 (22:10 -0500)]
pylint
Shane Jaroch [Mon, 26 Feb 2024 03:06:37 +0000 (22:06 -0500)]
fix quadratic with -g | --grams
Shane Jaroch [Sun, 25 Feb 2024 22:32:02 +0000 (17:32 -0500)]
header for bug in argparser funcs
Shane Jaroch [Sun, 25 Feb 2024 22:27:54 +0000 (17:27 -0500)]
split repr (exc_type/exc_msg), store more bug data
Shane Jaroch [Sun, 25 Feb 2024 21:50:33 +0000 (16:50 -0500)]
tidy, remove pointless nested simulate_bug()
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
Shane Jaroch [Sun, 25 Feb 2024 21:35:00 +0000 (16:35 -0500)]
test bug
Shane Jaroch [Sun, 25 Feb 2024 21:13:15 +0000 (16:13 -0500)]
usda init: pragma: no cover
Shane Jaroch [Sun, 25 Feb 2024 21:10:45 +0000 (16:10 -0500)]
add recipe_csv_util tests
Shane Jaroch [Sun, 25 Feb 2024 21:05:56 +0000 (16:05 -0500)]
test coverage ApiClient.get() not used yet anyway
Shane Jaroch [Sun, 25 Feb 2024 20:53:09 +0000 (15:53 -0500)]
test coverage
Shane Jaroch [Sun, 25 Feb 2024 20:33:11 +0000 (15:33 -0500)]
wip testing, bleh
Shane Jaroch [Sun, 25 Feb 2024 20:28:33 +0000 (15:28 -0500)]
test coverage, *shrugs*
Shane Jaroch [Sun, 25 Feb 2024 20:23:57 +0000 (15:23 -0500)]
wip, but `anl` is working somewhat okay now again
Shane Jaroch [Sun, 25 Feb 2024 20:13:18 +0000 (15:13 -0500)]
wip
Shane Jaroch [Sun, 25 Feb 2024 18:21:54 +0000 (13:21 -0500)]
wip
Shane Jaroch [Sun, 25 Feb 2024 17:55:29 +0000 (12:55 -0500)]
wip
Shane Jaroch [Sun, 25 Feb 2024 17:10:41 +0000 (12:10 -0500)]
update comments
Shane Jaroch [Sun, 25 Feb 2024 17:03:42 +0000 (12:03 -0500)]
truncate food name > 50 characters
Shane Jaroch [Sun, 25 Feb 2024 16:58:42 +0000 (11:58 -0500)]
more typing indictaors/casting
Shane Jaroch [Sun, 25 Feb 2024 16:50:52 +0000 (11:50 -0500)]
bump 3.10 --> 3.11
Shane Jaroch [Sun, 25 Feb 2024 16:45:32 +0000 (11:45 -0500)]
fix no such file error
Shane Jaroch [Sun, 25 Feb 2024 16:42:30 +0000 (11:42 -0500)]
fix submodule (no such commit was found error)
Shane Jaroch [Sun, 25 Feb 2024 16:22:28 +0000 (11:22 -0500)]
suppress exception for now, for testing purposes
Shane Jaroch [Sun, 25 Feb 2024 16:20:40 +0000 (11:20 -0500)]
fix URL for usda-sqlite.sql.tar.xz
Shane Jaroch [Sun, 25 Feb 2024 16:11:33 +0000 (11:11 -0500)]
typing Sequence[], Mapping[] vs. list, dict
Shane Jaroch [Sun, 25 Feb 2024 03:06:01 +0000 (22:06 -0500)]
upgrade USDA/usda verion, and lint deps
Shane Jaroch [Sat, 24 Feb 2024 15:47:51 +0000 (10:47 -0500)]
move print_macro_bar to top-level (not sub-func)
Shane Jaroch [Sat, 24 Feb 2024 00:17:45 +0000 (19:17 -0500)]
fix both macro bars showing same numbers
Shane Jaroch [Fri, 23 Feb 2024 22:03:36 +0000 (17:03 -0500)]
wip
Shane Jaroch [Thu, 22 Feb 2024 15:14:05 +0000 (10:14 -0500)]
wip nutprogbar stuff
Shane Jaroch [Thu, 15 Feb 2024 01:27:57 +0000 (20:27 -0500)]
tweak, don't allow 200s
Shane Jaroch [Thu, 15 Feb 2024 01:08:17 +0000 (20:08 -0500)]
bug submission MVP. wip configparser
Shane Jaroch [Thu, 15 Feb 2024 00:54:09 +0000 (19:54 -0500)]
[temp] drop coverage 90 -> 85
Shane Jaroch [Thu, 15 Feb 2024 00:30:09 +0000 (19:30 -0500)]
wip cache mirrors
Shane Jaroch [Wed, 14 Feb 2024 21:00:59 +0000 (16:00 -0500)]
upgrade lint requirements
Shane Jaroch [Wed, 14 Feb 2024 20:57:47 +0000 (15:57 -0500)]
keep chugging on bugs
Shane Jaroch [Wed, 14 Feb 2024 20:34:49 +0000 (15:34 -0500)]
list bugs too (not just submitting)
Shane Jaroch [Wed, 14 Feb 2024 15:41:49 +0000 (10:41 -0500)]
wip URLS_API (try all available hosts)
Shane Jaroch [Wed, 14 Feb 2024 02:14:15 +0000 (21:14 -0500)]
wip bug report
Shane Jaroch [Tue, 13 Feb 2024 19:45:42 +0000 (14:45 -0500)]
wip bug report
Shane Jaroch [Tue, 13 Feb 2024 19:31:37 +0000 (14:31 -0500)]
wip bug report
Shane Jaroch [Tue, 13 Feb 2024 14:56:16 +0000 (09:56 -0500)]
wip bug report
Shane Jaroch [Wed, 27 Dec 2023 01:43:18 +0000 (20:43 -0500)]
update requirements (lint)
Shane Jaroch [Sat, 23 Dec 2023 00:04:11 +0000 (19:04 -0500)]
add todo note about what to make nnest into
Shane Jaroch [Fri, 22 Dec 2023 13:59:31 +0000 (08:59 -0500)]
update lint reqs
Shane Jaroch [Thu, 14 Dec 2023 18:06:18 +0000 (13:06 -0500)]
lint RST fix
Shane Jaroch [Thu, 14 Dec 2023 18:01:19 +0000 (13:01 -0500)]
move nested list nnest blueprint to .rst file
Shane Jaroch [Thu, 14 Dec 2023 16:53:50 +0000 (11:53 -0500)]
use --debug, no "-d". Update black. Changelog.
Shane Jaroch [Thu, 14 Dec 2023 16:14:40 +0000 (11:14 -0500)]
use --version, no "-v"
Shane Jaroch [Thu, 14 Dec 2023 16:11:03 +0000 (11:11 -0500)]
update anl help to show recipes/days too
Shane Jaroch [Tue, 12 Dec 2023 18:11:58 +0000 (13:11 -0500)]
use ≤ character instead of <=
Shane Jaroch [Tue, 12 Dec 2023 18:09:50 +0000 (13:09 -0500)]
update mathematica script, small fix initial value
Shane Jaroch [Tue, 12 Dec 2023 18:04:28 +0000 (13:04 -0500)]
no f-strings, always remember for this project!
Shane Jaroch [Tue, 12 Dec 2023 18:02:18 +0000 (13:02 -0500)]
remove @todo, expand on other one
Shane Jaroch [Mon, 11 Dec 2023 21:49:20 +0000 (16:49 -0500)]
pur: update requirements (lint)
Shane Jaroch [Mon, 11 Dec 2023 21:48:17 +0000 (16:48 -0500)]
adjust pylintrc fail-under, differential lint
Shane Jaroch [Mon, 11 Dec 2023 21:38:53 +0000 (16:38 -0500)]
add average 1RM to printout
Shane Jaroch [Fri, 21 Jul 2023 16:20:00 +0000 (12:20 -0400)]
small edit, wip stuff, old
Shane Jaroch [Fri, 21 Jul 2023 14:50:26 +0000 (10:50 -0400)]
print_header() method in food analysis printout
Shane Jaroch [Sat, 17 Jun 2023 19:00:56 +0000 (15:00 -0400)]
update chatGPT nnest
Shane Jaroch [Sat, 17 Jun 2023 18:57:49 +0000 (14:57 -0400)]
chatGPT poc nnest
Shane Jaroch [Wed, 7 Jun 2023 11:11:26 +0000 (07:11 -0400)]
wip nnest, want to color code & tree view `anl`
Shane Jaroch [Tue, 6 Jun 2023 13:28:14 +0000 (09:28 -0400)]
increment dev version
Shane Jaroch [Mon, 1 May 2023 21:44:33 +0000 (17:44 -0400)]
release-0.2.7
Shane Jaroch [Sat, 8 Apr 2023 14:25:54 +0000 (10:25 -0400)]
small fixes (#20)
no windows /Scripts in envrc
readme and require direnv in init
add note in old requirements, see TODO in setup.py
fix python3.4 sorting issue, add todos
shift error message over one column
update casey butt coefficients
only need 3.4 on windows, linux covers 3.10
skip 3.5 and 3.8, because 3.4 is already tested
Shane Jaroch [Sat, 8 Apr 2023 14:24:42 +0000 (10:24 -0400)]
Dev (#19)
Shane Jaroch [Thu, 29 Sep 2022 14:32:27 +0000 (10:32 -0400)]
cleanup; testable colors.py (#16)
* tidy calculate service & makefile
* split eqs onto multiple lines
* more testable / idiomatic colors.py (and lintable)
* remove yamllint
Shane Jaroch [Mon, 8 Aug 2022 21:37:12 +0000 (17:37 -0400)]
release-0.2.6 (#15)
resolve duplicated code around colorama init
add input validation. non-negative weight & reps
add quadratic term to brzycki equation
dos remedios full rep range; drop test & exc logic
add .wls script for regression fits
Shane Jaroch [Mon, 8 Aug 2022 18:18:32 +0000 (14:18 -0400)]
Merge branch 'dev' (#14)
Shane Jaroch [Thu, 28 Jul 2022 09:02:08 +0000 (05:02 -0400)]
general cleanups
remove unused _age() function
remove main() in tree.py [wip]
setup.cfg stuff, types, read perms
try removing scripts, same approach on both OSes
don't use kwargs in setup() [checks typing]
non-executable script
add types-* packages (psycopg2, colorama)
fix error in orm_brzycki equation (same in, same out)
Shane Jaroch [Thu, 28 Jul 2022 09:01:05 +0000 (05:01 -0400)]
general cleanup, add calculators (#13)
Shane Jaroch [Wed, 20 Jul 2022 20:57:35 +0000 (16:57 -0400)]
release-0.2.5 (#12)
Shane Jaroch [Wed, 20 Jul 2022 20:28:48 +0000 (16:28 -0400)]
test old requirement versions, tidy workflows (#11)
Shane Jaroch [Wed, 20 Jul 2022 17:42:40 +0000 (13:42 -0400)]
separate lint workflow, update readme (#10)
Shane Jaroch [Wed, 20 Jul 2022 03:35:14 +0000 (23:35 -0400)]
move stuff around
Shane Jaroch [Wed, 20 Jul 2022 03:32:36 +0000 (23:32 -0400)]
proper python3.4 typing, matrix build on GitHub (#9)
Shane Jaroch [Mon, 18 Jul 2022 18:28:39 +0000 (14:28 -0400)]
compat/travis-ci test python 3.4 and 3.5 (#8)
* matrix build, and try bionic not xenial
* try it on xenial
bionic worked with: 3.6, 3.9, pypy3
* only submit coverage report for python 3.6
* 3.7 won't work apparently. need to fix 3.4 and 3.5
* drop tabulate, one bugfix version
* use dogshit old version of coverage for travis ci
* don't use make _deps in travis
* nvm its stuck on old coveralls too
* back to explicit version of colorama
* travis-ci drop -o log_cli (doesn't work on 5.5)
* fix on win xp setup
* filter unsupported setup.cfg props on old coverage