Skip to content

Commit

Permalink
feat(pdm/pre-commit): adds pre-commit file and pdm for dependency man…
Browse files Browse the repository at this point in the history
…agement
  • Loading branch information
nifedara committed Jun 22, 2024
1 parent 548c045 commit 85ada76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repos:
rev: "v0.4.8"
hooks:
- id: ruff
- id: ruff-format

# Trailing whitespace
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
7 changes: 7 additions & 0 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ dev = [
"commitizen>=3.27.0",
"ruff>=0.4.9",
]

[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "\"v$version\""
version_scheme = "semver2"
version = "1.0.1"
update_changelog_on_bump = true

0 comments on commit 85ada76

Please sign in to comment.