Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .cz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

[tool.commitizen]
name = "cz_github_jira_conventional"
tag_format = "v$major.$minor.$patch$prerelease"
version = "0.0.2"
version_files = [
"version.py"
]
jira_base_url = "https://saphetor.atlassian.net"
github_repo = "saphetor/varsome-api-client-python"
update_changelog_on_bump = true
gpg_sign = true
annotated_tag = true
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
default_install_hook_types: [pre-commit, commit-msg]
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
fail_fast: true
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.7.0
hooks:
- id: commitizen
stages: [commit-msg]
additional_dependencies: [cz-github-jira-conventional==2.0.0]
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Unreleased
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tool.black]
line-length = 88
target-version = ['py310']

[tool.isort]
profile = "black"

[tool.flake8]
ignore = ['E231', 'E241']
max-line-length = 88
count = true

[tool.pylint.format]
max-line-length = "88"
3 changes: 3 additions & 0 deletions version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022. Saphetor S.A. All rights reserved.
# Confidential
__version__ = "0.0.1"