Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
90fd4e9
:arrow_up: Bump https://github.com/gitleaks/gitleaks
dependabot[bot] May 5, 2026
ac35c41
:arrow_up: Bump https://github.com/PyCQA/bandit from 1.9.3 to 1.9.4
dependabot[bot] May 5, 2026
df0d9f0
:arrow_up: Bump https://github.com/psf/black from 26.1.0 to 26.3.1
dependabot[bot] May 5, 2026
35665b3
Merge pull request #51 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 5, 2026
b297d65
Merge pull request #50 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 5, 2026
32e275e
Merge pull request #49 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 5, 2026
0dcf8fb
:arrow_up: Bump https://github.com/psf/black from 26.3.1 to 26.5.1
dependabot[bot] May 20, 2026
e236440
Merge pull request #52 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu May 20, 2026
c3c6b2d
:arrow_up: Bump actions/checkout from 6 to 7
dependabot[bot] Jun 24, 2026
64388ff
:arrow_up: Bump https://github.com/igorshubovych/markdownlint-cli
dependabot[bot] Jun 24, 2026
f8bb156
Merge pull request #53 from bybatkhuu/dependabot/github_actions/dev/a…
bybatkhuu Jul 1, 2026
1cf82f2
Merge pull request #54 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu Jul 1, 2026
2003eb1
:arrow_up: Update setuptools requirement
dependabot[bot] Jul 6, 2026
e2010d7
Merge pull request #55 from bybatkhuu/dependabot/pip/dev/setuptools-g…
bybatkhuu Jul 7, 2026
9f9f7c1
:arrow_up: Bump https://github.com/igorshubovych/markdownlint-cli
dependabot[bot] Jul 15, 2026
fc6abfc
Merge pull request #56 from bybatkhuu/dependabot/pre_commit/dev/https…
bybatkhuu Jul 15, 2026
9355e85
:arrow_up: Bump actions/setup-python from 6 to 7
dependabot[bot] Jul 22, 2026
701bd98
Merge pull request #57 from bybatkhuu/dependabot/github_actions/dev/a…
bybatkhuu Jul 22, 2026
862884d
chore: add pre-commit workflow and update VSCode settings and extensions
bybatkhuu Jul 23, 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
- 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') }}
Comment on lines +27 to +31
- 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 +32 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
25 changes: 4 additions & 21 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,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 @@ -113,7 +113,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 @@ -123,7 +123,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 All @@ -146,7 +146,7 @@ repos:
args: ["--max-line-length=120"]

- repo: https://github.com/PyCQA/bandit
rev: 1.9.3
rev: 1.9.4
hooks:
- id: bandit
name: "🐍 bandit - Find python security issues"
Expand All @@ -168,23 +168,6 @@ repos:
entry: "python -m 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 @@ -148,7 +148,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>=8.0.4,<11.0.0"]
requires = ["setuptools>=82.0.1,<84.0.0", "setuptools-scm>=8.0.4,<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