Skip to content

Commit 0f96014

Browse files
author
Datata1
committed
refac(commit-hook): remove commitizen
1 parent 5271b18 commit 0f96014

File tree

6 files changed

+17
-228
lines changed

6 files changed

+17
-228
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@ repos:
1111
- id: ruff-check
1212
args: [ --fix ]
1313
- id: ruff-format
14-
15-
- repo: https://github.com/commitizen-tools/commitizen
16-
rev: v4.8.3
17-
hooks:
18-
- id: commitizen
19-
- id: commitizen-branch
20-
stages: [pre-push]

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"charliermarsh.ruff"
4+
]
5+
}

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll": "explicit",
5+
"source.organizeImports": "explicit"
6+
},
7+
"editor.defaultFormatter": "charliermarsh.ruff",
8+
"[python]": {
9+
"editor.defaultFormatter": "charliermarsh.ruff"
10+
}
11+
}

pyproject.toml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ packages = ["src/codesphere"]
3838

3939
[project.optional-dependencies]
4040
dev = [
41-
"commitizen>=4.8.3",
4241
"pre-commit>=4.2.0",
4342
"pytest>=8.4.0",
4443
"pytest-asyncio",
@@ -47,26 +46,6 @@ dev = [
4746
"bandit>=1.7.0",
4847
]
4948

50-
[tool.commitizen]
51-
name = "cz_conventional_commits"
52-
tag_format = "v$version"
53-
version_scheme = "pep440"
54-
version_provider = "uv"
55-
update_changelog_on_bump = true
56-
major_version_zero = true
57-
style = [
58-
["qmark", "fg:#ff9d00 bold"],
59-
["question", "bold"],
60-
["answer", "fg:#ff9d00 bold"],
61-
["pointer", "fg:#ff9d00 bold"],
62-
["highlighted", "fg:#ff9d00 bold"],
63-
["selected", "fg:#cc5454"],
64-
["separator", "fg:#cc5454"],
65-
["instruction", ""],
66-
["text", ""],
67-
["disabled", "fg:#858585 italic"]
68-
]
69-
7049
[tool.pytest.ini_options]
7150
testpaths = ["tests"]
7251
pythonpath = [

tests/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import logging
22
import os
3-
import pytest
43
from typing import AsyncGenerator, List, Optional
54

5+
import pytest
66
from dotenv import load_dotenv
77

88
from codesphere import CodesphereSDK

0 commit comments

Comments
 (0)