Commit graph

240 commits

Author SHA1 Message Date
renaud
1998ffc99f Fix some main typing annotations, include stricter ruff settings. 2024-03-23 19:25:58 -07:00
renaud
0baef1cc43 Fix some main typing annotations, include stricter ruff settings. 2024-03-23 18:59:26 -07:00
afik.cohen
aed187ce34 Add description and license and keywords to toml CF-174 2024-03-21 13:39:36 -07:00
afik.cohen
30544839b4 Reorganize shell operations into shell_utils.py, add returns library for Result monad, fix our python compatibility version line in our toml 2024-03-07 16:33:18 -08:00
afik.cohen
eb2f458fcf Beef up typing for cli init and make things more robust 2024-03-07 12:24:47 -08:00
RD
ad6451da31 Merge branch 'main' into strictest-mypy-settings 2024-03-05 23:27:12 -08:00
renaud
c56372ddba The type annotations must flow. 2024-03-05 22:56:10 -08:00
afik.cohen
002475a39a Merge remote-tracking branch 'origin/main' into afik/more_posthog_for_cli
# Conflicts:
#	cli/codeflash/main.py
2024-03-05 16:39:19 -08:00
afik.cohen
7dd85db06b Enable analytics whoops 2024-03-04 16:50:24 -08:00
afik.cohen
61571f8edb Add an enable_analytics option and respect it. 2024-03-04 16:15:12 -08:00
ihitamandal
8b85759ba9 Resolve merge conflicts 2024-03-04 15:29:50 -08:00
afik.cohen
40d3ae6204 Add sentry to cli 2024-02-29 17:59:34 -08:00
ihitamandal
bd35282b6b Add package and remove extra logging 2024-02-23 10:29:17 -08:00
Saurabh Misra
0b6744c6f3 Make pydantic 1.10 the lowest supported Pydantic version 2024-02-05 19:57:08 -08:00
afik.cohen
48dca8ff50 Stnadardize json parsing to use pydantic json encoder in all cases (in pydantic 1 RootModel does not exist, we use pydantic's json encoder instead.) 2024-02-05 18:47:44 -08:00
afik.cohen
c3d5a07249 Require slightly higher minimum versions for junitparser (because we use junitparser.xunit2) and Black 22.3.0, because versions before that won't work with click 8.1.0. 2024-01-31 17:43:01 -08:00
Saurabh Misra
8400b28c38 Update dependencies 2024-01-31 11:33:31 -08:00
Saurabh Misra
76004e5237 tiktoken more permissive 2024-01-30 20:35:57 -08:00
Saurabh Misra
0ca087a173 WIP dependencies versioning 2024-01-30 19:29:36 -08:00
Saurabh Misra
03e09d7019 Remove tomli as a dependency.
Fix some toml parsing code
2024-01-30 17:00:10 -08:00
afik.cohen
cd93906d7c Use inquirer for module root and test framework questions 2024-01-29 18:16:14 -08:00
Saurabh Misra
e0a255c935 remove unnecessary dependencies 2024-01-26 22:17:07 -08:00
afik.cohen
8fb59512e6 Merge remote-tracking branch 'origin/main' into optimize-all-validation 2024-01-26 16:36:03 -08:00
renaud
97b236015f Remove the definition of the function to optimize from the generated test file, replacing it with a statement. 2024-01-26 05:52:22 -08:00
Saurabh Misra
3847675cc4 Remove the dependency astunparse-fixed 2024-01-25 16:20:27 -08:00
afik.cohen
493d1e8692 Standardize on module-root and tests-root everywhere 2024-01-25 12:51:51 -08:00
Saurabh Misra
6f91d27306 Rename "root" to "module-root" 2024-01-25 12:28:16 -08:00
Saurabh Misra
7e2370024b Fix a long standing pyproject.toml parsing problem.
Some minor improvements
2024-01-24 19:39:08 -08:00
Saurabh Misra
3c725c8b86 Use 1 level up path as the real project root internally 2024-01-24 18:04:08 -08:00
afik.cohen
dd7240775a Autodetect test dir and test framework, also fix black target version 2024-01-24 15:57:50 -08:00
afik.cohen
3309274156 Don't proxy posthog in cfapi after all; just use posthog directly. Get user id from cfapi though, and cache it after the cli gets it once. 2024-01-22 16:59:25 -08:00
ihitamandal
35efc91dbb Add humanize package to pyproject.toml file 2024-01-17 11:44:24 -08:00
Saurabh Misra
6e6096a9b9 Merge pull request #89 from codeflash-ai/unit-test-python-matrix
Add a matrix version of unit-tests and fix Python 3.9
2024-01-13 17:04:28 -08:00
Saurabh Misra
3368f2e9d3 Bump minimum supported Python Version to 3.9 2024-01-13 16:57:16 -08:00
afik.cohen
e7fa798bd5 Rm posthog from cli for now 2024-01-12 19:55:53 -08:00
afik.cohen
54026ce562 Implement Posthog and userid for apikey for aiservice, pass userid down to endpoints, add analytics to /optimize endpoint 2024-01-12 19:27:38 -08:00
afik.cohen
052042e4a2 Add homepage and authors 2024-01-12 17:26:51 -08:00
afik.cohen
d55d9cde1f Dynamically update LICENSE version number 2024-01-12 14:42:42 -08:00
afik.cohen
f2b2f90de1 Fix versioning plugin and syntax warnings for init 2024-01-11 17:58:05 -08:00
afik.cohen
bc50e0d8cb Move codeflash python code base to cli/ 2023-12-29 18:37:49 -08:00