Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
a27c2cb
build(deps): bump https://github.com/psf/black from 26.1.0 to 26.3.1
dependabot[bot] May 5, 2026
0dea682
build(deps): bump https://github.com/gitleaks/gitleaks
dependabot[bot] May 5, 2026
bdea4b7
Merge pull request #59 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 5, 2026
6f4e1e0
Merge pull request #58 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 5, 2026
98f57de
build(deps): bump https://github.com/psf/black from 26.3.1 to 26.5.1
dependabot[bot] May 20, 2026
66cd53c
Merge pull request #60 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 21, 2026
83e6662
build(deps): bump https://github.com/igorshubovych/markdownlint-cli
dependabot[bot] Jun 17, 2026
1ffdabe
Merge pull request #61 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu Jun 23, 2026
a9606f5
build(deps): bump actions/checkout from 6 to 7
dependabot[bot] Jun 24, 2026
da490cc
Merge pull request #62 from bybatkhuu/dependabot/github_actions/dev/a…
bybatkhuu Jul 1, 2026
f3f88df
build(deps): update setuptools requirement
dependabot[bot] Jul 6, 2026
3ca5bbf
Merge pull request #63 from bybatkhuu/dependabot/pip/dev/setuptools-g…
bybatkhuu Jul 7, 2026
4b9e59e
build(deps): bump https://github.com/igorshubovych/markdownlint-cli
dependabot[bot] Jul 15, 2026
ff65ca6
Merge pull request #64 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu Jul 15, 2026
122cdf4
chore(deps): upgrade actions/setup-python to v7 and add pre-commit wo…
bybatkhuu Jul 22, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/1.bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Bump version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/2.build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -37,13 +37,13 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Get latest version
run: |
git pull origin main
echo "Current version: v$(./scripts/get-version.sh)"
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.10"
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/3.update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Update changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Pre-Commit

on:
pull_request:
branches:
- main
- dev
types:
- opened
- synchronize
- reopened

jobs:
pre-commit:
name: Run pre-commit checks
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Comment on lines +20 to +22
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.10"
- name: Cache pip
uses: actions/cache@v6
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-${{ hashFiles('requirements.txt') }}
- name: Install pre-commit and dependencies
run: |
python -m pip install -U pip
python -m pip install -r ./requirements.txt
python -m pip install -U pre-commit pyright pytest
Comment on lines +27 to +36
- name: Cache pre-commit
uses: actions/cache@v6
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit on all files
run: |
pre-commit run --all-files --show-diff-on-failure --color=always
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.10"
- name: Install dependencies
Expand Down
23 changes: 3 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ repos:

# --- Security checks ---
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
rev: v8.30.1
hooks:
- id: gitleaks
name: "🔐 gitleaks - Detect secrets in git history"
Expand All @@ -120,7 +120,7 @@ repos:

# --- Markdown ---
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
rev: v0.49.1
hooks:
- id: markdownlint
name: "📝 markdownlint - Lint markdown files"
Expand All @@ -146,7 +146,7 @@ repos:

# --- Python ---
- repo: https://github.com/psf/black
rev: 26.1.0
rev: 26.5.1
hooks:
- id: black
name: "🐍 black - Format python code"
Expand Down Expand Up @@ -191,23 +191,6 @@ repos:
entry: pyright
files: \.pyi?$

# --- Tests ---
# - repo: local
# hooks:
# - id: pytest-collect
# name: "🧪 pytest-collect (local) - Validate test formatting"
# language: system
# entry: "python -m pytest --collect-only"
# pass_filenames: false
# always_run: true

# - id: pytest
# name: "🧪 pytest (local) - Run tests"
# language: system
# entry: "./scripts/test.sh -l -v -c"
# pass_filenames: false
# always_run: true

# --- Cleanup ---
# - repo: local
# hooks:
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"alefragnani.project-manager",
"pkief.material-icon-theme",
"aaron-bond.better-comments",
"gruntfuggly.todo-tree",
"piotrpalarz.vscode-gitignore-generator",
"timonwong.shellcheck",
"davidanson.vscode-markdownlint",
Expand Down
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@
"**/Thumbs.db": true,
"**/docs/assets/js/*.js": true
},
"python.languageServer": "Pylance",
"python.analysis.extraPaths": [
"${workspaceFolder}/src"
],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=82.0.1,<83.0.0", "setuptools-scm>=10.0.5,<11.0.0"]
requires = ["setuptools>=82.0.1,<84.0.0", "setuptools-scm>=10.0.5,<11.0.0"]
build-backend = "setuptools.build_meta"

[project]
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.build.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
setuptools>=70.3.0,<83.0.0
setuptools>=70.3.0,<84.0.0
wheel>=0.43.0,<1.0.0
build>=1.1.1,<2.0.0
twine>=6.0.1,<7.0.0