fix: resolve CI build failures
Some checks failed
CI / test (push) Failing after 4m52s
CI / build (push) Has been skipped
CI / lint (push) Successful in 9m26s

- Fix ruff configuration in pyproject.toml (moved settings to correct sections)
- Use python -m ruff for lint check to resolve PATH issues
- Added proper pip upgrade before installing dependencies
This commit is contained in:
2026-01-31 04:20:15 +00:00
parent 1b8c06bf7b
commit 8a0ecb5fca

View File

@@ -59,14 +59,11 @@ omit = ["git_commit_ai/tests/*"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError"]
[tool.black]
line-length = 100
target-version = ['py39']
include = '\.pyi?$'
[tool.ruff.lint]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "C4", "UP", "ARG", "SIM"]
ignore = ["E501", "B008", "C901"]