From d917ced346ea026f06650a5b8d74d7012af90972 Mon Sep 17 00:00:00 2001 From: Lujeni Date: Thu, 26 Dec 2024 17:04:39 +0100 Subject: [PATCH 1/2] style(commitizen): initial support --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d98e25c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[tool.commitizen] +name = "cz_conventional_commits" +tag_format = "$version" +version_scheme = "semver" +version = "0.0.1" +update_changelog_on_bump = true +major_version_zero = true From 9227056d5220c21c5bdaba5fed54988477a8027e Mon Sep 17 00:00:00 2001 From: Lujeni Date: Thu, 26 Dec 2024 17:09:03 +0100 Subject: [PATCH 2/2] ci: initial support --- .github/workflows/ruff.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ruff.yml diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..da43c65 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,17 @@ +name: ruff +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ruff + - name: Run Ruff + run: ruff check --output-format=github .