fix: resolve CI build failures
- 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:
@@ -59,14 +59,11 @@ omit = ["git_commit_ai/tests/*"]
|
|||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
exclude_lines = ["pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError"]
|
exclude_lines = ["pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError"]
|
||||||
|
|
||||||
[tool.black]
|
[tool.ruff]
|
||||||
line-length = 100
|
|
||||||
target-version = ['py39']
|
|
||||||
include = '\.pyi?$'
|
|
||||||
|
|
||||||
[tool.ruff.lint]
|
|
||||||
line-length = 100
|
line-length = 100
|
||||||
target-version = "py39"
|
target-version = "py39"
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
select = ["E", "F", "W", "I", "B", "C4", "UP", "ARG", "SIM"]
|
select = ["E", "F", "W", "I", "B", "C4", "UP", "ARG", "SIM"]
|
||||||
ignore = ["E501", "B008", "C901"]
|
ignore = ["E501", "B008", "C901"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user