codeflash-agent/packages/codeflash-python/pyproject.toml
Kevin Turcios 919a673be2
Fix pre-existing CI lint and test failures (#40)
* chore: add gitignore entries for local eval repos, e2e fixtures, and env files

* fix: restore clean bubble_sort_method.py test fixture

The call-site ID commit re-contaminated this file with instrumentation
decorators, causing tests to fail with missing CODEFLASH_LOOP_INDEX.

* fix: resolve ruff and mypy errors in codeflash-python

- Add import-not-found ignores for optional torch/jax imports
- Extract magic column index to _STDOUT_COLUMN_INDEX constant
- Fix unused variable in _instrument_sync.py
- Cast cpu_time_ns to int for mypy arg-type

* fix: add skip markers for optional deps and apply ruff formatting to tests

Skip torch/jax/tensorflow tests when those packages are not installed.
Move has_module helper to conftest.py for reuse across test files.
Apply ruff format to all test files that drifted.

* fix: resolve remaining ruff format and mypy errors

- Add missing blank line in conftest.py (ruff format)
- Remove unused import-untyped ignore on jax import (mypy unused-ignore)
- Add type: ignore comments for object-typed SQLite row values

* chore: bump codeflash-python to 0.1.1.dev0
2026-04-28 18:39:46 -05:00

33 lines
652 B
TOML

[project]
name = "codeflash-python"
version = "0.1.1.dev0"
requires-python = ">=3.9"
dependencies = [
"codeflash-core",
"coverage[toml]>=7.0",
"dill>=0.3",
"gitpython>=3.1",
"isort>=5.0",
"jedi>=0.19",
"junitparser>=3.2",
"lxml>=5.3.0",
"libcst>=1.8.6",
"tomlkit>=0.12",
"wcwidth>=0.2",
"crosshair-tool>=0.0.78; python_version < '3.15'",
]
[project.scripts]
codeflash = "codeflash_python.pipeline._cli:main"
[build-system]
requires = ["uv_build>=0.7.2,<0.8"]
build-backend = "uv_build"
[tool.uv.sources]
codeflash-core = { workspace = true }
[dependency-groups]
dev = [
"parameterized>=0.9.0",
]